Share via


XamlDeferLoadAttribute 建構函式

定義

初始化 XamlDeferLoadAttribute 類別的新執行個體。

多載

XamlDeferLoadAttribute(String, String)

使用型別的字串名稱,初始化 XamlDeferLoadAttribute 類別的新執行個體。

XamlDeferLoadAttribute(Type, Type)

使用 CLR XamlDeferLoadAttribute 值,初始化 Type 類別的新執行個體。

XamlDeferLoadAttribute(String, String)

使用型別的字串名稱,初始化 XamlDeferLoadAttribute 類別的新執行個體。

public:
 XamlDeferLoadAttribute(System::String ^ loaderType, System::String ^ contentType);
public XamlDeferLoadAttribute (string loaderType, string contentType);
new System.Windows.Markup.XamlDeferLoadAttribute : string * string -> System.Windows.Markup.XamlDeferLoadAttribute
Public Sub New (loaderType As String, contentType As String)

參數

loaderType
String

型別的字串名稱,即實作後用於延後載入行為的型別。

contentType
String

型別的字串名稱,即延後載入行為的目的型別/內容型別。

例外狀況

loaderTypecontentTypenull

另請參閱

適用於

XamlDeferLoadAttribute(Type, Type)

使用 CLR XamlDeferLoadAttribute 值,初始化 Type 類別的新執行個體。

public:
 XamlDeferLoadAttribute(Type ^ loaderType, Type ^ contentType);
public XamlDeferLoadAttribute (Type loaderType, Type contentType);
new System.Windows.Markup.XamlDeferLoadAttribute : Type * Type -> System.Windows.Markup.XamlDeferLoadAttribute
Public Sub New (loaderType As Type, contentType As Type)

參數

loaderType
Type

CLR Type 值,即實作後用於延後載入行為的值。

contentType
Type

CLR Type 值,即延後載入行為的目的型別/內容型別。

例外狀況

loaderTypecontentTypenull

另請參閱

適用於