語言

XamlTypeInvoker 建構函式

定義

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

多載

名稱 Description
XamlTypeInvoker()

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

XamlTypeInvoker(XamlType)

根據提供的 XamlTypeInvoker初始化類別的新實例XamlType。

XamlTypeInvoker()

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

protected:
 XamlTypeInvoker();
protected XamlTypeInvoker();
Protected Sub New ()

備註

預設實作是空的。

此建構子在內部被調用以提供 的 UnknownInvoker值。 對於子 XamlTypeInvoker 職業,預期你要麼使用 XamlTypeInvoker(XamlType) 簽名來建造,要麼提供一個覆蓋 XamlTypeInvoker(XamlType) (override)作為基礎。 提供 的 XamlType 是 預設模式,其中 XamlTypeInvoker 是不可變的。

適用於

XamlTypeInvoker(XamlType)

根據提供的 XamlTypeInvoker初始化類別的新實例XamlType。

public:
 XamlTypeInvoker(System::Xaml::XamlType ^ type);
public XamlTypeInvoker(System.Xaml.XamlType type);
new System.Xaml.Schema.XamlTypeInvoker : System.Xaml.XamlType -> System.Xaml.Schema.XamlTypeInvoker
Public Sub New (type As XamlType)

參數

type
XamlType

與此XamlType相關的特定 XAML 類型值。XamlTypeInvoker

例外狀況

type 是 null。

備註

此構造器內部稱為 ,基於 XamlTypeXamlTypeInvoker 所用的構造。 此處提供的參數 type 適用於所有其他方法的 XamlTypeInvoker呼叫。

適用於