Export (0) Print
Expand All

HtmlDocument.Submit Method (String)

Silverlight

Posts user data from the specified FORM element to the server.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public void Submit(
	string formId
)

Parameters

formId
Type: System.String
The value of the id attribute for an HTML FORM element.

ExceptionCondition
ArgumentException

formId is an empty string.

ArgumentNullException

formId is null.

InvalidOperationException

An unexpected error occurred.

This overload posts user data from an HTML FORM element that is identified by the formId parameter. For example, if your HTML document has an element defined as <form id="xyz" />, you can submit its user data by calling HtmlDocument.Submit("xyz").

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft