There was an error while loading. Please reload this page.
Retrieves an array of the names of the constants in a specified enumeration.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static string[] GetNames<TEnum>( bool ignoreCase = false ) where TEnum : struct, new()
VB
Public Shared Function GetNames(Of TEnum As {Structure, New}) ( Optional ignoreCase As Boolean = false ) As String()
F#
static member GetNames : ?ignoreCase : bool (* Defaults: let _ignoreCase = defaultArg ignoreCase false *) -> string[] when 'TEnum : struct, new()
true
Type: String[]A string array of the names of the constants in enumType.
EnumHelper ClassCodeJam Namespace