Udostępnij za pośrednictwem


IDomainModelSerializer.SaveModelAndDiagram Method

Definition

Saves the model and diagram to files

public:
 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 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
Public Sub SaveModelAndDiagram (serializationResult As SerializationResult, modelRoot As ModelElement, modelFileName As String, diagram As ModelElement, diagramFileName As String, encoding As Encoding)

Parameters

serializationResult
SerializationResult

Detailed information about the result of the save

modelRoot
ModelElement

The root model element to save

modelFileName
String

The file to save the model element tosave

diagram
ModelElement

The diagram to be saved

diagramFileName
String

The file to save the diagram to

encoding
Encoding

The encoding to use

Applies to