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.

适用于