ToString Method

XmlConvert.ToString Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts strongly typed data to an equivalent String representation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method ToString() Returns a string that represents the current object. (Inherited from Object.)
Public method Static member ToString(Boolean) Converts the Boolean to a String.
Public method Static member ToString(Char) Converts the Char to a String.
Public method Static member ToString(DateTimeOffset) Converts the supplied DateTimeOffset to a String.
Public method Static member ToString(Decimal) Converts the Decimal to a String.
Public method Static member ToString(Double) Converts the Double to a String.
Public method Static member ToString(Guid) Converts the Guid to a String.
Public method Static member ToString(Int16) Converts the Int16 to a String.
Public method Static member ToString(Int32) Converts the Int32 to a String.
Public method Static member ToString(Int64) Converts the Int64 to a String.
Public method Static member ToString(SByte) Converts the SByte to a String.
Public method Static member ToString(Single) Converts the Single to a String.
Public method Static member ToString(TimeSpan) Converts the TimeSpan to a String.
Public method Static member ToString(UInt32) Converts the UInt32 to a String.
Public method Static member ToString(UInt64) Converts the UInt64 to a String.
Public method Static member ToString(DateTime, XmlDateTimeSerializationMode) Converts the DateTime to a String using the XmlDateTimeSerializationMode specified.
Public method Static member ToString(DateTimeOffset, String) Converts the supplied DateTimeOffset to a String in the specified format.
Top

Show:
© 2017 Microsoft