DynamicDataExtensions.TryGetMetaTable DynamicDataExtensions.TryGetMetaTable DynamicDataExtensions.TryGetMetaTable DynamicDataExtensions.TryGetMetaTable Method

定义

确定表元数据是否可用。Determines whether table metadata is available.

重载

TryGetMetaTable(IDataSource, MetaTable) TryGetMetaTable(IDataSource, MetaTable) TryGetMetaTable(IDataSource, MetaTable) TryGetMetaTable(IDataSource, MetaTable)

确定表元数据是否可用。Determines whether table metadata is available.

TryGetMetaTable(INamingContainer, MetaTable) TryGetMetaTable(INamingContainer, MetaTable) TryGetMetaTable(INamingContainer, MetaTable) TryGetMetaTable(INamingContainer, MetaTable)

确定表元数据是否可用。Determines whether table metadata is available.

TryGetMetaTable(IDataSource, MetaTable) TryGetMetaTable(IDataSource, MetaTable) TryGetMetaTable(IDataSource, MetaTable) TryGetMetaTable(IDataSource, MetaTable)

确定表元数据是否可用。Determines whether table metadata is available.

public:
[System::Runtime::CompilerServices::Extension]
 static bool TryGetMetaTable(System::Web::UI::IDataSource ^ dataSource, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);
public static bool TryGetMetaTable (this System.Web.UI.IDataSource dataSource, out System.Web.DynamicData.MetaTable table);
static member TryGetMetaTable : System.Web.UI.IDataSource * MetaTable -> bool
<Extension()>
Public Function TryGetMetaTable (dataSource As IDataSource, ByRef table As MetaTable) As Boolean

参数

dataSource
IDataSource IDataSource IDataSource IDataSource

其中包含表的数据源。The data source that contains the table.

table
MetaTable MetaTable MetaTable MetaTable

此方法返回时将包含表元数据。When this method returns, contains the table metadata. 此参数未经初始化即被传递。This parameter is passed uninitialized.

返回

如果表元数据可用,则为 true;否则为 falsetrue if table metadata is available; otherwise, false.

TryGetMetaTable(INamingContainer, MetaTable) TryGetMetaTable(INamingContainer, MetaTable) TryGetMetaTable(INamingContainer, MetaTable) TryGetMetaTable(INamingContainer, MetaTable)

确定表元数据是否可用。Determines whether table metadata is available.

public:
[System::Runtime::CompilerServices::Extension]
 static bool TryGetMetaTable(System::Web::UI::INamingContainer ^ control, [Runtime::InteropServices::Out] System::Web::DynamicData::MetaTable ^ % table);
public static bool TryGetMetaTable (this System.Web.UI.INamingContainer control, out System.Web.DynamicData.MetaTable table);
static member TryGetMetaTable : System.Web.UI.INamingContainer * MetaTable -> bool
<Extension()>
Public Function TryGetMetaTable (control As INamingContainer, ByRef table As MetaTable) As Boolean

参数

control
INamingContainer INamingContainer INamingContainer INamingContainer

其中包含表的 INamingContainer 对象。The INamingContainer object that contains the table.

table
MetaTable MetaTable MetaTable MetaTable

此方法返回时将包含表元数据。When this method returns, contains the table metadata. 此参数未经初始化即被传递。This parameter is passed uninitialized.

返回

如果表元数据可用,则为 true;否则为 falsetrue if table metadata is available; otherwise, false.

适用于