EnumTEnumGetName(TEnum) Method
Retrieves the name of the constant in the specified enumeration that has the specified value.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public 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
- value TEnum
- The enum value whose name is required.
StringA string containing the name of the enumerated
value, or
if no such constant is found.