Dela via


SyncIdFormat.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 SyncIdFormat
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

The length of reader could not be determined, or whether reader is variable-length could not be determined.

Remarks

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

See Also

Reference

SyncIdFormat Class

Microsoft.Synchronization Namespace