Bewerken

Delen via


MobilePage.GetForm(String) Method

Definition

Returns the form object specified by the ID parameter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 System::Web::UI::MobileControls::Form ^ GetForm(System::String ^ id);
public System.Web.UI.MobileControls.Form GetForm (string id);
member this.GetForm : string -> System.Web.UI.MobileControls.Form
Public Function GetForm (id As String) As Form

Parameters

id
String

The identifier of the form to return.

Returns

The specified form object. If no such form exists, GetForm(String) throws an exception.

Exceptions

The requested form was not found.

Remarks

Each form has a string identification number associated with it. When you supply the ID of a form on the page, this method returns the corresponding Form object.

Applies to

See also