XamlType.LookupMarkupExtensionReturnType 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回值,這個值提供此 XamlType (如果表示標記延伸的話) 傳回之 ProvideValue
的型別資訊。
protected:
virtual System::Xaml::XamlType ^ LookupMarkupExtensionReturnType();
protected virtual System.Xaml.XamlType LookupMarkupExtensionReturnType ();
abstract member LookupMarkupExtensionReturnType : unit -> System.Xaml.XamlType
override this.LookupMarkupExtensionReturnType : unit -> System.Xaml.XamlType
Protected Overridable Function LookupMarkupExtensionReturnType () As XamlType
傳回
標記延伸使用方式之傳回型別的 XamlType 物件,如果這個 XamlType 不表示標記延伸,則為 null
。
備註
呼叫 即可叫 MarkupExtensionReturnType 用這個方法。
預設實作會根據讀取 MarkupExtensionReturnTypeAttribute 傳回 XamlType 。 它也可以檢查 BaseType 屬性是否在立即基礎類型上找不到任何屬性。 如果值無法使用,則會傳 null
回 。
如果您想要 MarkupExtensionReturnType 使用不同的邏輯,請覆寫此方法。