TypeProvider.IsEnum(Type) Methode

Definitie

Geeft aan of een Type van het type Enum is.

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

Parameters

type
Type

De Type te testen.

Retouren

true als het Type een Enum ; anders falseis .

Uitzonderingen

type is een null-verwijzing (Nothing in Visual Basic).

Van toepassing op