EnumTEnumToString(TEnum, String) Method
Returns the
String representation of the given
enum value specified in the
value parameter.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public static string ToString(
TEnum value,
string? separator
)
Public Shared Function ToString (
value As TEnum,
separator As String
) As String
public:
static String^ ToString(
TEnum value,
String^ separator
)
static member ToString :
value : 'TEnum *
separator : string -> string
- value TEnum
- A TEnum value that has to be converted to String.
- separator String
- Separator in case of flags formatting. If or is empty, then comma-space (, ) separator is used.
StringThe string representation of
value.