CoreDesignSurfaceDomainModelSerializerBase.SaveModelAndDiagram Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.
public:
virtual void SaveModelAndDiagram(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::ModelElement ^ modelRoot, System::String ^ modelFileName, Microsoft::VisualStudio::Modeling::ModelElement ^ diagram, System::String ^ diagramFileName, System::Text::Encoding ^ encoding);
public virtual void SaveModelAndDiagram (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.ModelElement modelRoot, string modelFileName, Microsoft.VisualStudio.Modeling.ModelElement diagram, string diagramFileName, System.Text.Encoding encoding);
abstract member SaveModelAndDiagram : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.ModelElement * string * Microsoft.VisualStudio.Modeling.ModelElement * string * System.Text.Encoding -> unit
override this.SaveModelAndDiagram : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.ModelElement * string * Microsoft.VisualStudio.Modeling.ModelElement * string * System.Text.Encoding -> unit
Public Overridable Sub SaveModelAndDiagram (serializationResult As SerializationResult, modelRoot As ModelElement, modelFileName As String, diagram As ModelElement, diagramFileName As String, encoding As Encoding)
Parameters
- serializationResult
- SerializationResult
- modelRoot
- ModelElement
- modelFileName
- String
- diagram
- ModelElement
- diagramFileName
- String
- encoding
- Encoding