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

 

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

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

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

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling::SerializationContext^

The serialization context.

element
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The ModelElement instance to be serialized.

writer
Type: System.Xml::XmlWriter^

The XmlWriter to write serialized data to.

Return to top
Show: