SyncKnowledge.ReadXml Method
Reconstitutes the object from its XML representation.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub ReadXml ( _
reader As XmlReader _
)
'Usage
Dim instance As SyncKnowledge
Dim reader As XmlReader
instance.ReadXml(reader)
public void ReadXml(
XmlReader reader
)
public:
virtual void ReadXml(
XmlReader^ reader
) sealed
abstract ReadXml :
reader:XmlReader -> unit
override ReadXml :
reader:XmlReader -> unit
public final function ReadXml(
reader : XmlReader
)
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 |
---|---|
ArgumentNullException | reader is a null reference (Nothing in Visual Basic). |
XmlException | There was a problem reading XML from reader. |