Edita

Comparteix a través de


DynamicDataExtensions.GetMetaTable Method

Definition

Gets metadata for a table.

Overloads

GetMetaTable(IDataSource)

Gets the metadata for a table in the specified data source object.

GetMetaTable(INamingContainer)

Gets the table metadata for the specified data control.

GetMetaTable(IDataSource)

Gets the metadata for a table in the specified data source object.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Web::DynamicData::MetaTable ^ GetMetaTable(System::Web::UI::IDataSource ^ dataSource);
public static System.Web.DynamicData.MetaTable GetMetaTable (this System.Web.UI.IDataSource dataSource);
static member GetMetaTable : System.Web.UI.IDataSource -> System.Web.DynamicData.MetaTable
<Extension()>
Public Function GetMetaTable (dataSource As IDataSource) As MetaTable

Parameters

dataSource
IDataSource

The data source object for which to get the table metadata.

Returns

The table metadata associated with the IDataSource object.

Remarks

The table metadata was set by using the SetMetaTable or EnableDynamicData method.

Applies to

GetMetaTable(INamingContainer)

Gets the table metadata for the specified data control.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Web::DynamicData::MetaTable ^ GetMetaTable(System::Web::UI::INamingContainer ^ control);
public static System.Web.DynamicData.MetaTable GetMetaTable (this System.Web.UI.INamingContainer control);
static member GetMetaTable : System.Web.UI.INamingContainer -> System.Web.DynamicData.MetaTable
<Extension()>
Public Function GetMetaTable (control As INamingContainer) As MetaTable

Parameters

control
INamingContainer

The data control for which to get the table metadata.

Returns

The table metadata that is associated with the INamingContainer object.

Remarks

The table metadata was set by using the SetMetaTable or EnableDynamicData method.

Applies to