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

TypeEnum이면 true이고, 그렇지 않으면 false입니다.

예외

type이 null 참조(Visual Basic의 경우 Nothing)인 경우

적용 대상