ComponentOne Basic Library for UWP
GetEnumValues<T> Method

C1.UWP Assembly > C1.Xaml Namespace > TypeEx Class : GetEnumValues<T> Method
Enum type.
Enum type.
Returns the values of an Enum type (Type.IsEnum == true).
Syntax
'Declaration
 
Public Shared Function GetEnumValues(Of T)( _
   ByVal enumType As System.Type _
) As System.Collections.Generic.IList(Of T)
public static System.Collections.Generic.IList<T> GetEnumValues<T>( 
   System.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