System.Xml.XmlWriter.WriteValue Method

Writes a DateTimeOffset value.

Syntax

public virtual void WriteValue (DateTimeOffset value)

Parameters

value
The DateTimeOffset value to write.

Remarks

For asynchronous operations, convert the return value of this method to a string and use the XmlWriter.WriteStringAsync(string) method.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 4.0.0.0