HtmlDocument.Submit Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Posts user data from the FORM element in the browser's Document Object Model (DOM) to the server.

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

Syntax

'Declaration
Public Sub Submit
public void Submit()

Exceptions

Exception Condition
InvalidOperationException

An unexpected error occurred.

Remarks

If an HTML page has multiple FORM elements, this overload posts user data from the first FORM element to the server.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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