This documentation is archived and is not being maintained.

XamlMember.LookupInvoker Method

Returns a XamlMemberInvoker that is associated with this XamlMember.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

protected virtual XamlMemberInvoker LookupInvoker()

Return Value

Type: System.Xaml.Schema.XamlMemberInvoker
The XamlMemberInvoker information for this XamlMember; or null.

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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.