ClassHasElementMergeDirectivesSerializer.Read Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Public Read() method that deserializes one ClassHasElementMergeDirectives instance from XML.
public:
override void Read(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlReader ^ reader);
public override void Read (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlReader reader);
override this.Read : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlReader -> unit
Public Overrides Sub Read (serializationContext As SerializationContext, element As ModelElement, reader As XmlReader)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
In-memory ClassHasElementMergeDirectives instance that will get the deserialized data.
- reader
- XmlReader
XmlReader to read serialized data from.
Remarks
When this method is called, caller guarantees that the passed-in XML reader is positioned at the open XML tag of the ClassHasElementMergeDirectives 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).