แก้ไข

แชร์ผ่าน


ModelMethodContext(Page) Constructor

Definition

Initializes a new instance of the ModelMethodContext class.

public:
 ModelMethodContext(System::Web::UI::Page ^ page);
public ModelMethodContext (System.Web.UI.Page page);
new System.Web.UI.WebControls.ModelMethodContext : System.Web.UI.Page -> System.Web.UI.WebControls.ModelMethodContext
Public Sub New (page As Page)

Parameters

page
Page

The page object.

Exceptions

The page parameter is null.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to