DomainClassXmlSerializer.WriteElements 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.
This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML.
protected:
virtual void WriteElements(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlWriter ^ writer);
protected virtual void WriteElements (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlWriter writer);
abstract member WriteElements : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
override this.WriteElements : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
Protected Overridable Sub WriteElements (serializationContext As SerializationContext, element As ModelElement, writer As XmlWriter)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
ModelElement instance to be serialized.
- writer
- XmlWriter
XmlWriter to write serialized data to.