LinqDataSourceView::CreateContext Method (Type^)

 

Creates an instance of the data context type.

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

protected:
virtual Object^ CreateContext(
	Type^ contextType
)

Parameters

contextType
Type: System::Type^

The type of the data context to create.

Return Value

Type: System::Object^

An instance of the data context type.

.NET Framework
Available since 3.5
Return to top
Show: