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

返品

true TypeEnumの場合は。それ以外の場合はfalse

例外

type は null 参照です (Visual Basic では Nothing)。

適用対象