Επεξεργασία

Κοινή χρήση μέσω


DynamicDataExtensions.SetMetaTable Method

Definition

Sets the MetaTable object.

Overloads

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)

Parameters

control
INamingContainer

The INamingContainer object that contains the table.

table
MetaTable

The table metadata.

Applies to

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))

Parameters

control
INamingContainer

The INamingContainer object that contains the table.

table
MetaTable

The table metadata.

defaultValues
IDictionary<String,Object>

The default value mapping.

Applies to

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)

Parameters

control
INamingContainer

The INamingContainer object that contains the table.

table
MetaTable

The table metadata.

defaultValues
Object

The default value mapping.

Applies to