DynamicDataExtensions.SetMetaTable 方法

定義

設定 MetaTable 物件。Sets the MetaTable object.

多載

SetMetaTable(INamingContainer, MetaTable)

設定所指定資料控制項中的資料表中繼資料。Sets the table metadata for the specified data control.

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

設定所指定資料控制項的資料表中繼資料及預設值對應。Sets the table metadata and default value mapping for the specified data control.

SetMetaTable(INamingContainer, MetaTable, Object)

設定所指定資料控制項的資料表中繼資料及預設值對應。Sets the table metadata and default value mapping for the specified data control.

SetMetaTable(INamingContainer, MetaTable)

設定所指定資料控制項中的資料表中繼資料。Sets the table metadata for the specified data control.

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 物件。The INamingContainer object that contains the table.

table
MetaTable

資料表中繼資料。The table metadata.

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

設定所指定資料控制項的資料表中繼資料及預設值對應。Sets the table metadata and default value mapping for the specified data control.

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 物件。The INamingContainer object that contains the table.

table
MetaTable

資料表中繼資料。The table metadata.

defaultValues
IDictionary<String,Object>

預設值對應。The default value mapping.

SetMetaTable(INamingContainer, MetaTable, Object)

設定所指定資料控制項的資料表中繼資料及預設值對應。Sets the table metadata and default value mapping for the specified data control.

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 物件。The INamingContainer object that contains the table.

table
MetaTable

資料表中繼資料。The table metadata.

defaultValues
Object

預設值對應。The default value mapping.

適用於