TypeProvider.IsEnum(Type) Metodo

Definizione

Indica se un Type oggetto è di tipo Enum .

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

Parametri

type
Type

Oggetto Type da testare.

Valori restituiti

true se è Type un oggetto Enum ; in caso contrario false, .

Eccezioni

type è un riferimento Null (Nothing in Visual Basic).

Si applica a