The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XmlConvert::ToString Method (DateTime)
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Xml
Assembly: System.Xml (in System.Xml.dll)
Return to top
Assembly: System.Xml (in System.Xml.dll)
public: [ObsoleteAttribute("Use XmlConvert.ToString() that takes in XmlDateTimeSerializationMode")] static String^ ToString( DateTime value )
Parameters
- value
-
Type:
System::DateTime
The value to convert.
Return Value
Type: System::String^A string representation of the DateTime in the format yyyy-MM-ddTHH:mm:ss where 'T' is a constant literal.
Note |
|---|
The XmlConvert::ToString(DateTime) method is obsolete in the 2.0 version of the .NET Framework and has been replaced with the XmlConvert::ToString(DateTime, XmlDateTimeSerializationMode) method. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
