DevForce Help Reference
IsEnumType Method


Returns whether the specified type (or its non-nullable counterpart) represents an enumeration.
Syntax
'Declaration
 
Public Shared Function IsEnumType( _
   ByVal type As Type _
) As Boolean
'Usage
 
Dim type As Type
Dim value As Boolean
 
value = TypeFns.IsEnumType(type)
public static bool IsEnumType( 
   Type type
)

Parameters

type

Return Value

true if the specified type represents an enumeration; false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TypeFns Class
TypeFns Members

Send Feedback