MetaTable.CreateContext Method ()


Returns the data context for the table.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public virtual object CreateContext()

Return Value

Type: System.Object

The data context for the table.

The data context is retrieved from a new context that is instantiated by calling the MetaTable.CreateContext method. For more information, see the System.Web.DynamicData.MetaTable class overview.

.NET Framework
Available since 3.5
Return to top