WriteElements Method

DecoratorHostShapeSerializerBase.WriteElements Method (SerializationContext, ModelElement, XmlWriter)

 

This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected override void WriteElements(
	SerializationContext serializationContext,
	ModelElement element,
	XmlWriter writer
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

Serialization context.

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

DecoratorHostShape instance to be serialized.

writer
Type: System.Xml.XmlWriter

XmlWriter to write serialized data to.

Return to top
Show:
© 2016 Microsoft