DomainClassXmlSerializer::Read Method (SerializationContext^, ModelElement^, XmlReader^)
Visual Studio 2015
Deserializes a given model element instance from XML.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
public: virtual void Read( SerializationContext^ serializationContext, ModelElement^ element, XmlReader^ reader )
Parameters
- serializationContext
-
Type:
Microsoft.VisualStudio.Modeling::SerializationContext^
The serialization context that stores the serialization result.
- element
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
In-memory model element instance that will get the deserialized data.
- reader
-
Type:
System.Xml::XmlReader^
The XmlReader from which to read.
When this method is called, caller guarantees that the passed-in XML reader is positioned at the open XML tag of the element that is about to be deserialized. The method needs to ensure that when it returns, the reader is positioned at the open XML tag of the next sibling element, or the close tag of the parent element (or EOF).
Show: