DynamicDataExtensions.TryGetMetaTable 方法

定義

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

多載

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

適用於