Click or drag to resize

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
Syntax
public static string TypedValueToString(
	Object rawValue,
	CultureInfo culture
)

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: String
string
See Also