ContextDataSourceView.CreateContext Method (DataSourceOperation)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an instance of the data context and entity-set type for the specified operation.

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

protected virtual ContextDataSourceContextData CreateContext(
	DataSourceOperation operation
)

Parameters

operation
Type: System.Web.UI.DataSourceOperation

The type of data operation to perform.

Return Value

Type: System.Web.UI.WebControls.ContextDataSourceContextData

An instance of the data context and entity-set type for the specified operation.

.NET Framework
Available since 4.0
Return to top
Show: