NodeShapeSerializer.WritePropertiesAsAttributes Method

Write all properties that need to be serialized as XML attributes.

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

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

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

Serialization context.

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

NodeShape instance to be serialized.

writer
Type: XmlWriter

XmlWriter to write serialized data to.

Show: