ContextDataSourceView.CreateContext Method (DataSourceOperation)

.NET Framework (current version)
 

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)

abstract CreateContext : 
        operation:DataSourceOperation -> ContextDataSourceContextData
override CreateContext : 
        operation:DataSourceOperation -> ContextDataSourceContextData

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: