DynamicDataExtensions.GetMetaTable DynamicDataExtensions.GetMetaTable DynamicDataExtensions.GetMetaTable DynamicDataExtensions.GetMetaTable Method

定義

取得資料表的中繼資料。Gets metadata for a table.

多載

GetMetaTable(IDataSource) GetMetaTable(IDataSource) GetMetaTable(IDataSource) GetMetaTable(IDataSource)

取得所指定資料來源物件中的資料表中繼資料。Gets the metadata for a table in the specified data source object.

GetMetaTable(INamingContainer) GetMetaTable(INamingContainer) GetMetaTable(INamingContainer) GetMetaTable(INamingContainer)

取得所指定資料控制項中的資料表中繼資料。Gets the table metadata for the specified data control.

GetMetaTable(IDataSource) GetMetaTable(IDataSource) GetMetaTable(IDataSource) 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

參數

dataSource
IDataSource IDataSource IDataSource IDataSource

要取得其中資料表中繼資料的資料來源物件。The data source object for which to get the table metadata.

傳回

IDataSource 物件相關聯的資料表中繼資料。The table metadata associated with the IDataSource object.

備註

資料表中繼資料是使用SetMetaTableEnableDynamicData方法所設定。The table metadata was set by using the SetMetaTable or EnableDynamicData method.

GetMetaTable(INamingContainer) GetMetaTable(INamingContainer) GetMetaTable(INamingContainer) 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

參數

control
INamingContainer INamingContainer INamingContainer INamingContainer

要為其取得資料表中繼資料的資料控制項。The data control for which to get the table metadata.

傳回

INamingContainer 物件相關聯的資料表中繼資料。The table metadata that is associated with the INamingContainer object.

備註

資料表中繼資料是使用SetMetaTableEnableDynamicData方法所設定。The table metadata was set by using the SetMetaTable or EnableDynamicData method.

適用於