ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / TypeEx Class / GetEnumValues<T> Method
Enum type.
Enum type.

In This Topic
    GetEnumValues<T> Method
    In This Topic
    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