Share via


DslDefinitionModelSerializationHelperBase.WriteExtensions Method

Definition

Write extension element data inside the current XML element

protected public:
 virtual void WriteExtensions(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlWriter ^ writer);
protected internal virtual void WriteExtensions (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlWriter writer);
abstract member WriteExtensions : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
override this.WriteExtensions : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
Protected Friend Overridable Sub WriteExtensions (serializationContext As SerializationContext, element As ModelElement, writer As XmlWriter)

Parameters

serializationContext
SerializationContext

The current serialization context instance.

element
ModelElement

The element whose attributes have just been written.

writer
XmlWriter

XmlWriter to write serialized data to.

Remarks

The default implemenation is to write out all non-embedded extension elements, regardless of whether they relate to the current element or not. The additional data should be written as a series of one or more XML elements.

Applies to