共用方式為


ShapeSerializer.WriteMoniker 方法

公用的 WriteMoniker() 方法,可將 XML 寫入 monikerized 的圖形實例。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
Public Overrides Sub WriteMoniker ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter, _
    sourceRolePlayer As ModelElement, _
    relSerializer As DomainRelationshipXmlSerializer _
)
public override void WriteMoniker(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer,
    ModelElement sourceRolePlayer,
    DomainRelationshipXmlSerializer relSerializer
)

參數

.NET Framework 安全性

請參閱

參考

ShapeSerializer 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間