Returns whether the specified type (or its non-nullable counterpart) represents an enumeration.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function IsEnumType( _
ByVal type As Type _
) As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim type As Type
Dim value As Boolean
value = TypeFns.IsEnumType(type) |
Parameters
- type
Return Value
true if the specified type represents an enumeration; false otherwise
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also