XamlMember.Invoker 屬性

定義

取得與這個 XamlMemberInvoker 相關聯的 XamlMember 實作。

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

屬性值

XamlMemberInvoker

與這個 XamlMemberInvoker 相關聯的 XamlMember 實作。

備註

Invoker 模式是進階的 XAML 類型系統擴充技術。 模式 Invoker 提供插入不同架構類型對應行為的方式,同時仍使用來自 .NET Framework XAML 服務的 XAML 類型系統定義。

LookupInvoker如果覆寫傳 null 回 ,或預設實作傳 null 回,因為它缺少 UnderlyingMember 這個 XamlMember 的 ,則 Invoker 屬性會傳 XamlMemberInvoker.UnknownInvoker 回 。

XamlMemberInvoker.UnknownInvoker 是預設值。 對於使用 XAML 服務與預設 XAML 架構內容.NET Framework,且不會傳遞任何特定覆寫 Invoker 模式來建構 XAML 類型系統實體的作業而言,這是正確的。

呼叫 Invoker 叫用 LookupInvoker 或該方法的特定覆寫。

適用於