DecoratorHostShapeSerializerBase::WritePropertiesAsAttributes Method (SerializationContext^, ModelElement^, XmlWriter^)

 

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

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

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

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: