Editar

Compartilhar via


XamlType.Invoker Property

Definition

Gets the XamlTypeInvoker implementation that is associated with this 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

Property Value

The XamlTypeInvoker implementation that is associated with this XamlType.

Remarks

If you do not use the default internal CLR reflection technique for a XamlType, calling Invoker can invoke either LookupInvoker or a specific override of that method. For more information about return values and other behavior, see the documentation for LookupInvoker on this type.

If a LookupInvoker override returns null, or if the default implementation returns null because of lack of UnderlyingType for this XamlType, then Invoker returns XamlTypeInvoker.UnknownInvoker.

Applies to