DynamicDataExtensions.SetMetaTable 方法

定義

設定 MetaTable 物件。

多載

SetMetaTable(INamingContainer, MetaTable)

設定所指定資料控制項中的資料表中繼資料。

SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>)

設定所指定資料控制項的資料表中繼資料及預設值對應。

SetMetaTable(INamingContainer, MetaTable, Object)

設定所指定資料控制項的資料表中繼資料及預設值對應。

SetMetaTable(INamingContainer, MetaTable)

設定所指定資料控制項中的資料表中繼資料。

public:
[System::Runtime::CompilerServices::Extension]
 static void SetMetaTable(System::Web::UI::INamingContainer ^ control, System::Web::DynamicData::MetaTable ^ table);
public static void SetMetaTable (this System.Web.UI.INamingContainer control, System.Web.DynamicData.MetaTable table);
static member SetMetaTable : System.Web.UI.INamingContainer * System.Web.DynamicData.MetaTable -> unit
<Extension()>
Public Sub SetMetaTable (control As INamingContainer, table As MetaTable)

參數

control
INamingContainer

包含資料表的 INamingContainer 物件。

table
MetaTable

資料表中繼資料。

適用於

SetMetaTable(INamingContainer, MetaTable, IDictionary<String,Object>)

設定所指定資料控制項的資料表中繼資料及預設值對應。

public:
[System::Runtime::CompilerServices::Extension]
 static void SetMetaTable(System::Web::UI::INamingContainer ^ control, System::Web::DynamicData::MetaTable ^ table, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ defaultValues);
public static void SetMetaTable (this System.Web.UI.INamingContainer control, System.Web.DynamicData.MetaTable table, System.Collections.Generic.IDictionary<string,object> defaultValues);
static member SetMetaTable : System.Web.UI.INamingContainer * System.Web.DynamicData.MetaTable * System.Collections.Generic.IDictionary<string, obj> -> unit
<Extension()>
Public Sub SetMetaTable (control As INamingContainer, table As MetaTable, defaultValues As IDictionary(Of String, Object))

參數

control
INamingContainer

包含資料表的 INamingContainer 物件。

table
MetaTable

資料表中繼資料。

defaultValues
IDictionary<String,Object>

預設值對應。

適用於

SetMetaTable(INamingContainer, MetaTable, Object)

設定所指定資料控制項的資料表中繼資料及預設值對應。

public:
[System::Runtime::CompilerServices::Extension]
 static void SetMetaTable(System::Web::UI::INamingContainer ^ control, System::Web::DynamicData::MetaTable ^ table, System::Object ^ defaultValues);
public static void SetMetaTable (this System.Web.UI.INamingContainer control, System.Web.DynamicData.MetaTable table, object defaultValues);
static member SetMetaTable : System.Web.UI.INamingContainer * System.Web.DynamicData.MetaTable * obj -> unit
<Extension()>
Public Sub SetMetaTable (control As INamingContainer, table As MetaTable, defaultValues As Object)

參數

control
INamingContainer

包含資料表的 INamingContainer 物件。

table
MetaTable

資料表中繼資料。

defaultValues
Object

預設值對應。

適用於