NodeShapeSerializer.WritePropertiesAsAttributes 方法

定義

撰寫需要序列化為 XML 屬性的所有屬性。

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)

參數

serializationContext
SerializationContext

序列化內容。

element
ModelElement

要序列化的 NodeShape 實例。

writer
XmlWriter

要將序列化資料寫入其中的 XmlWriter。

適用於