XamlType.MarkupExtensionReturnType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,這個值提供此 XamlType (如果表示標記延伸的話) 傳回之 ProvideValue
的型別資訊。
public:
property System::Xaml::XamlType ^ MarkupExtensionReturnType { System::Xaml::XamlType ^ get(); };
public System.Xaml.XamlType MarkupExtensionReturnType { get; }
member this.MarkupExtensionReturnType : System.Xaml.XamlType
Public ReadOnly Property MarkupExtensionReturnType As XamlType
屬性值
標記延伸使用方式之傳回型別的 XamlType 物件,如果這個 XamlType 不表示標記延伸,則為 null
。
備註
只有當此屬性 XamlType 代表標記延伸 (x:MarkupExtension
位於可指派的類型清單中) 時,此屬性才相關。
如果您未針對 XamlType 使用預設的內部 CLR 反映技術,對此屬性的呼叫可以在衍生類別上 XamlType 叫 LookupMarkupExtensionReturnType 用覆寫。 如需傳回值和其他行為的詳細資訊,請參閱此類型的檔 LookupMarkupExtensionReturnType 。