共用方式為


ListCompartmentSerializer.WriteMoniker 方法

公用的 WriteMoniker() 方法,可將 monikerized 的 ListCompartment 執行個體寫入 XML。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.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 安全性

請參閱

參考

ListCompartmentSerializer 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間