CompartmentSerializer.WriteMoniker 方法

公共 WriteMoniker() 方法编写 monikerized 隔离舱实例转换为 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 安全性

请参见

参考

CompartmentSerializer 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间