共用方式為


DomainTypeSerializer.WriteMoniker 方法

公用 WriteMoniker() 方法,可將一個 Monikerize 處理過的 DomainType 執行個體序列化成 XML。

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

請參閱

參考

DomainTypeSerializer 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間