DomainClassXmlSerializer.WritePropertiesAsAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write all properties that need to be serialized as XML attributes.
protected:
virtual void WritePropertiesAsAttributes(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlWriter ^ writer);
protected virtual void WritePropertiesAsAttributes (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlWriter writer);
abstract member WritePropertiesAsAttributes : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
override this.WritePropertiesAsAttributes : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
Protected Overridable Sub WritePropertiesAsAttributes (serializationContext As SerializationContext, element As ModelElement, writer As XmlWriter)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
ModelElement instance to be serialized.
- writer
- XmlWriter
XmlWriter to write serialized data to.