TypeProvider.IsEnum(Type) 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.
public:
static bool IsEnum(Type ^ type);
public static bool IsEnum (Type type);
static member IsEnum : Type -> bool
Public Shared Function IsEnum (type As Type) As Boolean
Paramètres
Retours
true si Type est Enum ; sinon, false.
Exceptions
type est une référence Null (Nothing en Visual Basic).