Rediger

Del via


XamlMember.LookupInvoker Method

Definition

Returns a XamlMemberInvoker that is associated with this XamlMember.

protected:
 virtual System::Xaml::Schema::XamlMemberInvoker ^ LookupInvoker();
protected virtual System.Xaml.Schema.XamlMemberInvoker LookupInvoker ();
abstract member LookupInvoker : unit -> System.Xaml.Schema.XamlMemberInvoker
override this.LookupInvoker : unit -> System.Xaml.Schema.XamlMemberInvoker
Protected Overridable Function LookupInvoker () As XamlMemberInvoker

Returns

The XamlMemberInvoker information for this XamlMember; or null.

Remarks

This method is invoked by calls to Invoker.

The default implementation does not require that a XamlMember be constructed by using one of the constructors that pass an initial XamlMemberInvoker. However, an UnderlyingMember value must exist for the XamlMember; otherwise, the default implementation returns null.

Override this method if you also derive from XamlMemberInvoker and intend to return the derived class. If you return null, Invoker returns XamlMemberInvoker.UnknownInvoker to callers.

Applies to

See also