共用方式為


MoveableDecoratorHostShapeSerializer.Write 方法

包含受保護的成員
包含繼承的成員

這個成員是多載的。如需這個成員的完整資訊 (包括語法、用法和範例),請按一下多載清單中的名稱。

多載清單

  名稱 說明
公用方法 Write(SerializationContext, ModelElement, XmlWriter) 將序列化成 XML 這個序列化程式執行個體相關聯的模型項目執行個體。 (繼承自 DomainClassXmlSerializer)。
公用方法 Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings) 不像 DecoratorHostShape,MoveableDecoratorHostShape 不會需要經序列化以保留位置資訊。不過,裝飾及 CD 中的主圖形的特殊處理,受限於標準產生的序列化不起作用。因此,我們最少運算,產生的序列化程式,而是處理 ShapeElementSerializer.CustomWriteElements() 中的序列化。 (覆寫 MoveableDecoratorHostShapeSerializerBase.Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings)。)

回頁首

請參閱

參考

MoveableDecoratorHostShapeSerializer 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間