'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^>^ GetEnumValuesgeneric<typename T> ( Type^ enumType )
Parameters
- enumType
- Enum type.
Type Parameters
- T
- Enum type.
Return Value
The list of values for that enum type.