KGy SOFT

EnumTEnumToString Method (TEnum, String)

KGy SOFT Core Libraries Help
Returns the String representation of the given enum value specified in the value parameter.

Namespace:  KGySoft.CoreLibraries
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.3.0
Syntax

public static string ToString(
	TEnum value,
	string separator
)

Parameters

value
Type: TEnum
A TEnum value that has to be converted to String.
separator
Type: SystemString
Separator in case of flags formatting. If  or is empty, then comma-space (, ) separator is used.

Return Value

Type: String
The string representation of value.
See Also

Reference