TypeProvider.IsEnum(Type) Metoda

Definice

Určuje, zda Type je typ 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

Parametry

type
Type

To, co Type se má testovat.

Návraty

Boolean

true pokud je to Type ; Enum jinak false.

Výjimky

typeje nulový odkaz (Nothingv Visual Basic).

Platí pro