Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: T[] GetValues<T>()

Declaration

public static T[] GetValues<T>()

Summary

Returns the set of enum values from the specified enum type.

Generic type parameters

TThe enum type from which to retrieve the values.

Returns

A strongly-typed array containing the enum values from the specified type.