Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 ClockVector
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
An XML writer stream to which the XML representation of the object will be written.
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 ClockVector to IXmlSerializable.