TypeProvider.IsEnum(Type) Método

Definição

Indica se um Type é do 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

Parâmetros

type
Type

O Type que será testado.

Retornos

true se for Type um Enum ; caso contrário false.

Exceções

type é uma referência nula (Nothing em Visual Basic).

Aplica-se a