Aracılığıyla paylaş


TypeProvider.IsEnum(Type) Yöntem

Tanım

bir Type öğesinin türünde Enum olup olmadığını gösterir.

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

Parametreler

type
Type

Test Type edilecek.

Döndürülenler

Boolean

trueType ise Enum ; değilse false.

Özel durumlar

typenull başvurudur (Nothing Visual Basic).

Şunlara uygulanır