語言

XamlType.GetAliasedProperty(XamlDirective) 方法

定義

回傳被 別名為 XAML 指令 XamlType的 XAML 成員。

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

參數

directive
XamlDirective

那是尋找別名成員的指令。

傳回

如果找到別名成員;否則,。 null

備註

如果你不使用預設的內部 CLR 反射技術, XamlType呼叫此方法可能會對衍生類別進行 LookupAliasedProperty 覆寫 XamlType 。 欲了解更多關於回傳值及其他行為的資訊,請參閱此類型的文件 LookupAliasedProperty 。

適用於