ToString Method
MSDN Home
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Xml Namespace
XmlConvert Class
XmlConvert Methods
ToString Method
ToString Method (Boolean)
ToString Method (Byte)
ToString Method (Char)
ToString Method (DateTime)
ToString Method (Decimal)
ToString Method (Double)
ToString Method (Guid)
ToString Method (Int16)
ToString Method (Int32)
ToString Method (Int64)
ToString Method (SByte)
ToString Method (Single)
ToString Method (TimeSpan)
ToString Method (UInt16)
ToString Method (UInt32)
ToString Method (UInt64)
ToString Method (DateTimeOffse ...
ToString Method (DateTime, Str ...
ToString Method (DateTime, Xml ...
ToString Method (DateTimeOffse ...
XmlConvert Methods
DecodeName Method
EncodeLocalName Method
EncodeName Method
EncodeNmToken Method
FromBinHexString Method
ToBinHexString Method
ToBoolean Method
ToByte Method
ToChar Method
ToDateTime Method
ToDateTimeOffset Method
ToDecimal Method
ToDouble Method
ToGuid Method
ToInt16 Method
ToInt32 Method
ToInt64 Method
ToSByte Method
ToSingle Method
ToString Method
ToTimeSpan Method
ToUInt16 Method
ToUInt32 Method
ToUInt64 Method
VerifyName Method
VerifyNCName Method
VerifyNMTOKEN Method
VerifyTOKEN Method
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
XmlConvert
.
.
::
.
ToString Method
Converts strongly typed data to an equivalent
String
representation.
Overload List
Name
Description
ToString
()
()
()
Returns a
String
that represents the current
Object
.
(Inherited from
Object
.)
ToString(Boolean)
Converts the
Boolean
to a
String
.
ToString(Byte)
Converts the
Byte
to a
String
.
ToString(Char)
Converts the
Char
to a
String
.
ToString(DateTime)
Obsolete.
Converts the
DateTime
to a
String
.
ToString(Decimal)
Converts the
Decimal
to a
String
.
ToString(Double)
Converts the
Double
to a
String
.
ToString(Guid)
Converts the
Guid
to a
String
.
ToString(Int16)
Converts the
Int16
to a
String
.
ToString(Int32)
Converts the
Int32
to a
String
.
ToString(Int64)
Converts the
Int64
to a
String
.
ToString(SByte)
Converts the
SByte
to a
String
.
ToString(Single)
Converts the
Single
to a
String
.
ToString(TimeSpan)
Converts the
TimeSpan
to a
String
.
ToString(UInt16)
Converts the
UInt16
to a
String
.
ToString(UInt32)
Converts the
UInt32
to a
String
.
ToString(UInt64)
Converts the
UInt64
to a
String
.
ToString(DateTimeOffset)
Converts the supplied
DateTimeOffset
to a
String
.
ToString(DateTime, String)
Converts the
DateTime
to a
String
.
ToString(DateTime, XmlDateTimeSerializationMode)
Converts the
DateTime
to a
String
using the
XmlDateTimeSerializationMode
specified.
ToString(DateTimeOffset, String)
Converts the supplied
DateTimeOffset
to a
String
in the specified format.
Top
See Also
Reference
XmlConvert Class
XmlConvert Members
System.Xml Namespace
Tags :