ClassHasBaseClassSerializer.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:
override void WritePropertiesAsAttributes(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ element, System::Xml::XmlWriter ^ writer);
protected override void WritePropertiesAsAttributes (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement element, System.Xml.XmlWriter writer);
override this.WritePropertiesAsAttributes : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * System.Xml.XmlWriter -> unit
Protected Overrides Sub WritePropertiesAsAttributes (serializationContext As SerializationContext, element As ModelElement, writer As XmlWriter)
Parameters
- serializationContext
- SerializationContext
Serialization context.
- element
- ModelElement
ClassHasBaseClass instance to be serialized.
- writer
- XmlWriter
XmlWriter to write serialized data to.