Returns the values of an Enum type (Type.IsEnum == true).
'Declaration
Public Shared Function GetEnumValues(Of )( _
ByVal As System.Type _
) As System.Collections.Generic.IList(Of T)
public static System.Collections.Generic.IList<T> GetEnumValues<>(
System.Type
)
Parameters
- enumType
- Enum type.
Type Parameters
- T
- Enum type.
Return Value
The list of values for that enum type.