-
Notifications
You must be signed in to change notification settings - Fork 34
M_CodeJam_EnumHelper_GetNames__1
andrewvk edited this page Jun 23, 2016
·
5 revisions
[This is preliminary documentation and is subject to change.]
Retrieves an array of the names of the constants in a specified enumeration.
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static string[] GetNames<TEnum>(
bool ignoreCase = false
)
where TEnum : struct, new(), IComparable, IFormattable, IConvertibleVB
Public Shared Function GetNames(Of TEnum As {Structure, New, IComparable, IFormattable, IConvertible}) (
Optional ignoreCase As Boolean = false
) As String()F#
static member GetNames :
?ignoreCase : bool
(* Defaults:
let _ignoreCase = defaultArg ignoreCase false
*)
-> string[] when 'TEnum : struct, new() and IComparable and IFormattable and IConvertible
- ignoreCase (Optional)
- Type: System.Boolean
If set totruethe case of the name will be ignored.
- TEnum
- The type of the enum.
Type: String[]
A string array of the names of the constants in enumType.