Exception.GetType Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le type d’exécution de l’instance actuelle.
public:
Type ^ GetType();
public:
virtual Type ^ GetType();
public Type GetType();
override this.GetType : unit -> Type
Public Function GetType () As Type
Retours
Objet Type qui représente le type d’exécution exact de l’instance actuelle.
Implémente
Remarques
La méthode GetType existe pour prendre en charge l’infrastructure .NET Framework et appelle en interne la méthode fondamentale, Object.GetType.