Class XmlConvertExtensions
Extension methods for the System.Xml.XmlConvert class.
Inheritance
System.Object
XmlConvertExtensions
Namespace: Cuemon.Xml
Assembly: Cuemon.Xml.dll
Syntax
public static class XmlConvertExtensions
Methods
| Improve this DocToString(DateTime, XmlDateTimeSerializationMode)
Converts the specified value
to a System.String using the serializationMode
specified.
Declaration
public static string ToString(this DateTime value, XmlDateTimeSerializationMode serializationMode)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value | The System.DateTime value to convert. |
System.Xml.XmlDateTimeSerializationMode | serializationMode | One of the System.Xml.XmlDateTimeSerializationMode values that specify how to treat the System.DateTime |
Returns
Type | Description |
---|---|
System.String | A System.String equivalent of the System.DateTime |