Share via


CoreDesignSurfaceDomainModelSerializerBase.SaveModelAndDiagram Method

Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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
)
public:
virtual void SaveModelAndDiagram(
    SerializationResult^ serializationResult, 
    ModelElement^ modelRoot, 
    String^ modelFileName, 
    ModelElement^ diagram, 
    String^ diagramFileName, 
    Encoding^ encoding
)
abstract SaveModelAndDiagram : 
        serializationResult:SerializationResult * 
        modelRoot:ModelElement * 
        modelFileName:string * 
        diagram:ModelElement * 
        diagramFileName:string * 
        encoding:Encoding -> unit  
override SaveModelAndDiagram : 
        serializationResult:SerializationResult * 
        modelRoot:ModelElement * 
        modelFileName:string * 
        diagram:ModelElement * 
        diagramFileName:string * 
        encoding:Encoding -> unit
public function SaveModelAndDiagram(
    serializationResult : SerializationResult, 
    modelRoot : ModelElement, 
    modelFileName : String, 
    diagram : ModelElement, 
    diagramFileName : String, 
    encoding : Encoding
)

Parameters

  • modelFileName
    Type: String
  • diagramFileName
    Type: String
  • encoding
    Type: Encoding

Implements

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

.NET Framework Security

See Also

Reference

CoreDesignSurfaceDomainModelSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace