Share via


ClockVectorElement.IXmlSerializable.WriteXml Method

Converts this object into its XML representation.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Private Sub WriteXml ( _
    writer As XmlWriter _
) Implements IXmlSerializable.WriteXml
'Usage
Dim instance As ClockVectorElement
Dim writer As XmlWriter

CType(instance, IXmlSerializable).WriteXml(writer)
void IXmlSerializable.WriteXml(
    XmlWriter writer
)
private:
virtual void WriteXml(
    XmlWriter^ writer
) sealed = IXmlSerializable::WriteXml
private abstract WriteXml : 
        writer:XmlWriter -> unit 
private override WriteXml : 
        writer:XmlWriter -> unit 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

  • writer
    Type: System.Xml.XmlWriter
    The XML representation of the object will be written to this writer stream.

Implements

IXmlSerializable.WriteXml(XmlWriter)

Exceptions

Exception Condition
ArgumentNullException

writer is a null reference (Nothing in Visual Basic).

Remarks

This method is explicitly implemented. Code that accesses this method must first cast ClockVectorElement to IXmlSerializable.

See Also

Reference

ClockVectorElement Class

Microsoft.Synchronization Namespace