XamlType.LookupUnderlyingType 方法

定義

傳回做為此 Type 之基礎的 CLR XamlType

protected:
 virtual Type ^ LookupUnderlyingType();
protected virtual Type LookupUnderlyingType ();
abstract member LookupUnderlyingType : unit -> Type
override this.LookupUnderlyingType : unit -> Type
Protected Overridable Function LookupUnderlyingType () As Type

傳回

做為此 Type 之基礎的 CLR XamlType,否則為 null

備註

您可以呼叫 來 UnderlyingType 叫用這個方法。

預設實作會傳回內部欄位。 該欄位通常會在建構期間初始化,而且其值是以呼叫的建構函式和您提供的資訊為基礎。

如果您想要 UnderlyingType 使用不同的邏輯,請覆寫這個方法。

適用於