XmlHelperConvertToString Method (Object, Type) |
Uses XmlConvert to convert these value types: DateTime, Double,
Decimal, Single, Int32, Int64, Guid,
Boolean to their string representation. If value is of other type, returns result of its ToString() method.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string ConvertToString(
Object value,
Type type
)
Parameters
- value
- Type: SystemObject
Value to convert. - type
- Type: SystemType
Type of the value.
Return Value
Type:
StringSee Also