Partage via


XamlType.LookupUnderlyingType Méthode

Définition

Retourne le CLR Type qui sous-tend ce 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

Retours

Le CLR Type qui sous-tend ce XamlType; sinon, null.

Remarques

Cette méthode peut être appelée par des appels à UnderlyingType.

L’implémentation par défaut retourne un champ interne. Ce champ est généralement initialisé pendant la construction et sa valeur est basée sur le constructeur qui a été appelé et les informations que vous avez fournies.

Remplacez cette méthode si vous souhaitez UnderlyingType utiliser une logique différente.

S’applique à