TypeProvider.IsEnum(Type) Metod

Definition

Anger om en Type är av typen 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

Parametrar

type
Type

Som Type ska testas.

Returer

true Type om är en Enum , annars false.

Undantag

type är en nullreferens (Nothing i Visual Basic).

Gäller för