Share via


ClockVectorElement.IXmlSerializable.ReadXml Method

Reconstitutes the object from its XML representation.

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

Syntax

'Declaration
Private Sub ReadXml ( _
    reader As XmlReader _
) Implements IXmlSerializable.ReadXml
'Usage
Dim instance As ClockVectorElement
Dim reader As XmlReader

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

Parameters

  • reader
    Type: System.Xml.XmlReader
    An XML reader stream that contains the XML representation of the object.

Implements

IXmlSerializable.ReadXml(XmlReader)

Exceptions

Exception Condition
XmlException

reader is a null reference (Nothing in Visual Basic) or the tick count could not be read from reader.

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