ComponentOne FinancialChart for WPF
GetEnumValues<T> Method



C1.WPF Namespace > TypeEx Class : GetEnumValues<T> Method
Enum type.
Enum type.
Returns the values of an Enum type (Type.IsEnum == true).
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function GetEnumValues(Of T)( _
   ByVal enumType As Type _
) As IList(Of T)
'Usage
 
Dim enumType As Type
Dim value As IList(Of T)
 
value = TypeEx.GetEnumValues(Of T)(enumType)
[Extension()]
public static IList<T> GetEnumValues<T>( 
   Type enumType
)
[Extension()]
public:
static IList<T^>^ GetEnumValuesgeneric<typename T>
( 
   Type^ enumType
) 

Parameters

enumType
Enum type.

Type Parameters

T
Enum type.

Return Value

The list of values for that enum type.
See Also

Reference

TypeEx Class
TypeEx Members