ModelMethodContext(Page) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.