Επεξεργασία

Κοινή χρήση μέσω


XamlType.LookupUnderlyingType Method

Definition

Returns the CLR Type that underlies this 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

Returns

The CLR Type that underlies this XamlType; otherwise, null.

Remarks

This method can be invoked by calls to UnderlyingType.

The default implementation returns an internal field. That field is generally initialized during construction and its value is based on which constructor was called and the information that you provided.

Override this method if you want UnderlyingType to use different logic.

Applies to