 | EnumTEnumGetName Method |
Retrieves the name of the constant in the specified enumeration that has
the specified value.
Namespace: BobsAssembly: Bobs.Utilities (in Bobs.Utilities.dll) Version: 0.1.0-dev001
Syntaxpublic static string GetName(
TEnum value
)
Public Shared Function GetName (
value As TEnum
) As String
public:
static String^ GetName(
TEnum value
)
static member GetName :
value : 'TEnum -> string
Parameters
- value
- Type: TEnum
The value of a particular enumerated constant in terms of its underlying
type.
Return Value
Type:
StringA string containing the name of the enumerated constant in
TEnum whose
value is value; or null if no such constant is found.
Exceptions
See Also