Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
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: String
See Also