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.

适用于