We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Returns a dictionary containing the enum names and their values.
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IReadOnlyDictionary<string, TEnum> GetNameValues<TEnum>( bool ignoreCase = false ) where TEnum : struct, new()
VB
Public Shared Function GetNameValues(Of TEnum As {Structure, New}) ( Optional ignoreCase As Boolean = false ) As IReadOnlyDictionary(Of String, TEnum)
F#
static member GetNameValues : ?ignoreCase : bool (* Defaults: let _ignoreCase = defaultArg ignoreCase false *) -> IReadOnlyDictionary<string, 'TEnum> when 'TEnum : struct, new()
true
Type: IReadOnlyDictionary(String, TEnum)Returns a dictionary containing the enum names and their values.
EnumHelper ClassCodeJam Namespace