 | ReflectionUtilsTypedValueToString Method (Object, CultureInfo) |
Converts a type to string if possible. This method supports an optional culture generically on any value.
It calls the ToString() method on common types and uses a type converter on all other objects
if available
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static string TypedValueToString(
Object rawValue,
CultureInfo culture
)
Public Shared Function TypedValueToString (
rawValue As Object,
culture As CultureInfo
) As String
public:
static String^ TypedValueToString(
Object^ rawValue,
CultureInfo^ culture
)
static member TypedValueToString :
rawValue : Object *
culture : CultureInfo -> string
Parameters
- rawValue
- Type: SystemObject
The Value or Object to convert to a string - culture
- Type: System.GlobalizationCultureInfo
Culture for numeric and DateTime values
Return Value
Type:
Stringstring
See Also