語言

XamlDeferLoadAttribute 建構函式

定義

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

多載

名稱 Description
XamlDeferLoadAttribute(String, String)

初始化類別的新實例 XamlDeferLoadAttribute ,使用型別的字串名稱。

XamlDeferLoadAttribute(Type, Type)

初始化類別的新實例 XamlDeferLoadAttribute ,使用 CLR 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

延遲載入行為的目的/內容類型字串名稱。

例外狀況

loaderType 或 contentType 為 null。

另請參閱

適用於

XamlDeferLoadAttribute(Type, Type)

初始化類別的新實例 XamlDeferLoadAttribute ,使用 CLR 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 值。

例外狀況

loaderType 或 contentType 為 null。

另請參閱

適用於