Επεξεργασία

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


DataControlExtensions.EnableDynamicData Method

Definition

Enables Dynamic Data behavior for the specified data control.

Overloads

EnableDynamicData(INamingContainer, Type)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, Object)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type)

Enables Dynamic Data behavior for the specified data control.

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

Parameters

control
INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type

The type to use for metadata.

Applies to

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

Enables Dynamic Data behavior for the specified data control.

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

Parameters

control
INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type

The type to use for metadata.

defaultValues
IDictionary<String,Object>

The default values to use with the INamingContainer object.

Applies to

EnableDynamicData(INamingContainer, Type, Object)

Enables Dynamic Data behavior for the specified data control.

public:
[System::Runtime::CompilerServices::Extension]
 static void EnableDynamicData(System::Web::UI::INamingContainer ^ control, Type ^ entityType, System::Object ^ defaults);
public static void EnableDynamicData (this System.Web.UI.INamingContainer control, Type entityType, object defaults);
static member EnableDynamicData : System.Web.UI.INamingContainer * Type * obj -> unit
<Extension()>
Public Sub EnableDynamicData (control As INamingContainer, entityType As Type, defaults As Object)

Parameters

control
INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type

The type that represents the table to display.

defaults
Object

The default values to use with the INamingContainer object.

Applies to