共用方式為


CoreDesignSurfaceDomainModelSerializerBase.SaveModelAndDiagram 方法

擲回 NotImplementedException - 不能直接序列化 / 還原序列化 Dsl 文件庫。

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

語法

'宣告
Public Overridable Sub SaveModelAndDiagram ( _
    serializationResult As SerializationResult, _
    modelRoot As ModelElement, _
    modelFileName As String, _
    diagram As ModelElement, _
    diagramFileName As String, _
    encoding As Encoding _
)
public virtual void SaveModelAndDiagram(
    SerializationResult serializationResult,
    ModelElement modelRoot,
    string modelFileName,
    ModelElement diagram,
    string diagramFileName,
    Encoding encoding
)

參數

實作

IDomainModelSerializer.SaveModelAndDiagram(SerializationResult, ModelElement, String, ModelElement, String, Encoding)

.NET Framework 安全性

請參閱

參考

CoreDesignSurfaceDomainModelSerializerBase 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間