TypeProvider.IsEnum(Type) TypeProvider.IsEnum(Type) TypeProvider.IsEnum(Type) Method

Definición

Indica si Type es del tipo Enum.Indicates whether a Type is of type Enum .

public:
 static bool IsEnum(Type ^ type);
public static bool IsEnum (Type type);
static member IsEnum : Type -> bool

Parámetros

type
Type Type Type

Type que se va a probar.The Type to be tested.

Devoluciones

Es true si Type es Enum; en caso contrario, es false.true if the Type is an Enum ; otherwise false.

Excepciones

type es una referencia nula (Nothing en Visual Basic).type is a null reference (Nothing in Visual Basic).

Se aplica a