EAPUtilToStringRaw Method |
Safely converts an object to a string with special case handling for data types that typically
result in undesirable string values when converted using the default .Net conversions.
At this time the following special conversions are performed:
- bool - Converts to "1" or "0".
- Enum - Converts to its corresponding integer string, e.g. "1", "2", or "3".
If the object is null then return value is an empty string.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ToStringRaw(
Object value
)
Public Shared Function ToStringRaw (
value As Object
) As String
Parameters
- value
- Type: SystemObject
The object to convert.
Return Value
Type:
StringThe converted value or "" if the object is null.
See Also