DslLibrarySerializerBase.WriteElements(SerializationContext, ModelElement, XmlWriter) Método

Definição

Esse método serializa 1) Propriedades serializadas como elementos XML aninhados e 2) elementos de modelo filho em XML.This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML.

protected:
 override void WriteElements(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlWriter ^ writer);
protected override void WriteElements (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlWriter writer);
override this.WriteElements : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
Protected Overrides Sub WriteElements (serializationContext As SerializationContext, element As ModelElement, writer As XmlWriter)

Parâmetros

serializationContext
SerializationContext

Contexto de serialização.Serialization context.

element
ModelElement

Instância de DslLibrary a ser serializada.DslLibrary instance to be serialized.

writer
XmlWriter

XmlWriter para gravar dados serializados.XmlWriter to write serialized data to.

Aplica-se a