DynamicDataExtensions.TryGetMetaTable 方法

定義

判斷表格中繼資料是否可用。

多載

名稱 Description
TryGetMetaTable(IDataSource, MetaTable)

判斷表格中繼資料是否可用。

TryGetMetaTable(INamingContainer, MetaTable)

判斷表格中繼資料是否可用。

TryGetMetaTable(IDataSource, MetaTable)

判斷表格中繼資料是否可用。

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

包含該資料表的資料來源。

table
MetaTable

當此方法回傳時,包含了資料表的元資料。 這個參數會未初始化傳遞。

傳回

true如果有資料表的元資料;否則,。 false

適用於

TryGetMetaTable(INamingContainer, MetaTable)

判斷表格中繼資料是否可用。

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 該資料表的物件。

table
MetaTable

當此方法回傳時,包含了資料表的元資料。 這個參數會未初始化傳遞。

傳回

true如果有資料表的元資料;否則,。 false

適用於