Udostępnij za pośrednictwem


DslLibraryImportSerializer.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

DslLibraryImport instance to be serialized.

writer
XmlWriter

XmlWriter to write serialized data to.

Applies to