Method AsString
AsString(T)
Gets a string representation of the specified enumeration value.
Declaration
public string AsString(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The enumeration value. |
Returns
Type | Description |
---|---|
string |
AsString(T, SplitFlagsOptions)
Gets a string representation of the specified enumeration value using the specified options to customize how flags are split.
Declaration
public string AsString(T value, SplitFlagsOptions flagsOptions)
Parameters
Type | Name | Description |
---|---|---|
T | value | The enumeration value. |
SplitFlagsOptions | flagsOptions | Options to customize the behavior of the conversion if the value is a flags enumeration. Ignored if the value is not a flags enumeration. |
Returns
Type | Description |
---|---|
string |