XamlType.GetAliasedProperty(XamlDirective) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳被 別名為 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 。