Gets a list of integer values for the specified enumeration.

public static IList<int> GetEnumValues( 
Type type 
)

Parameters

type

Type: Type

The name of the Enum type.

Return Value

A list of integers representing the enumeration values.