語言

XamlType.Invoker 屬性

定義

取得 XamlTypeInvoker 與此 XamlType相關聯的實作。

public:
 property System::Xaml::Schema::XamlTypeInvoker ^ Invoker { System::Xaml::Schema::XamlTypeInvoker ^ get(); };
public System.Xaml.Schema.XamlTypeInvoker Invoker { get; }
member this.Invoker : System.Xaml.Schema.XamlTypeInvoker
Public ReadOnly Property Invoker As XamlTypeInvoker

屬性值

與此XamlTypeInvoker相關聯的實作。XamlType

備註

若未使用預設的內部 CLR 反射技術, XamlType呼叫 Invoker 可呼叫該方法的其中一種 LookupInvoker 或特定覆寫。 欲了解更多關於回傳值及其他行為的資訊,請參閱此類型的文件 LookupInvoker 。

若覆LookupInvoker寫返回null,或因缺乏 而null預設實作返回UnderlyingType,XamlType則Invoker返回 XamlTypeInvoker.UnknownInvoker。

適用於