 | EnumTEnumGetValues Method |
Retrieves an array of the values of the constants in a specified enumeration.
Namespace: BobsAssembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntaxpublic static TEnum[] GetValues()
Public Shared Function GetValues As TEnum()
public:
static array<TEnum>^ GetValues()
static member GetValues : unit -> 'TEnum[]
Return Value
Type:
TEnumAn array that contains the values of the constants in
TEnum.
ExceptionsException | Condition |
---|
InvalidOperationException | The method is invoked by reflection in a reflection-only context, -or- TEnum
is a type from an assembly loaded in a reflection-only context. |
See Also