TypeProvider.IsEnum(Type) メソッド

定義

TypeEnum 型かどうかを調べます。

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

パラメーター

type
Type

調べる Type

戻り値

Boolean

trueType であれば Enum、それ以外の場合は false

例外

type が null 参照 (Visual Basic の場合は Nothing) です。

適用対象