ModelMethodContext Constructor (Page^)

.NET Framework (current version)
 

Initializes a new instance of the ModelMethodContext class.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
ModelMethodContext(
	Page^ page
)

Parameters

page
Type: System.Web.UI::Page^

The page object.

Exception Condition
ArgumentNullException

The page parameter is null.

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

.NET Framework
Available since 4.5
Return to top
Show: