Redigera

Dela via


XamlType.GetAliasedProperty(XamlDirective) Method

Definition

Returns the XAML member that is aliased to a XAML directive by this XamlType.

public:
 System::Xaml::XamlMember ^ GetAliasedProperty(System::Xaml::XamlDirective ^ directive);
public System.Xaml.XamlMember GetAliasedProperty (System.Xaml.XamlDirective directive);
member this.GetAliasedProperty : System.Xaml.XamlDirective -> System.Xaml.XamlMember
Public Function GetAliasedProperty (directive As XamlDirective) As XamlMember

Parameters

directive
XamlDirective

The directive for which to find the aliased member.

Returns

The aliased member, if found; otherwise, null.

Remarks

If you do not use the default internal CLR reflection technique for a XamlType, calls to this method can invoke LookupAliasedProperty overrides on XamlType derived classes. For more information about return values and other behavior, see the documentation for LookupAliasedProperty on this type.

Applies to