DataControlExtensions.EnableDynamicData DataControlExtensions.EnableDynamicData DataControlExtensions.EnableDynamicData DataControlExtensions.EnableDynamicData Method

定義

針對指定的資料控制項啟用動態資料行為。Enables Dynamic Data behavior for the specified data control.

多載

EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type)

針對指定的資料控制項啟用動態資料行為。Enables Dynamic Data behavior for the specified data control.

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

針對指定的資料控制項啟用動態資料行為。Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object)

針對指定的資料控制項啟用動態資料行為。Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type) EnableDynamicData(INamingContainer, Type) 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)

參數

control
INamingContainer INamingContainer INamingContainer INamingContainer

要啟用動態資料行為的資料控制項。The data control to enable Dynamic Data behavior for.

entityType
Type Type Type Type

要用於中繼資料的型別。The type to use for metadata.

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>) EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>) EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>) 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))

參數

control
INamingContainer INamingContainer INamingContainer INamingContainer

要啟用動態資料行為的資料控制項。The data control to enable Dynamic Data behavior for.

entityType
Type Type Type Type

要用於中繼資料的型別。The type to use for metadata.

defaultValues
IDictionary<String,Object>

要搭配 INamingContainer 物件使用的預設值。The default values to use with the INamingContainer object.

EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object) EnableDynamicData(INamingContainer, Type, Object) 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)

參數

control
INamingContainer INamingContainer INamingContainer INamingContainer

要啟用動態資料行為的資料控制項。The data control to enable Dynamic Data behavior for.

entityType
Type Type Type Type

表示要顯示之資料表的類型。The type that represents the table to display.

defaults
Object Object Object Object

要搭配 INamingContainer 物件使用的預設值。The default values to use with the INamingContainer object.

適用於