次の方法で共有


PresentationElementSerializer.WritePropertiesAsAttributes Method

Definition

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

PresentationElement instance to be serialized.

writer
XmlWriter

XmlWriter to write serialized data to.

Applies to