다음을 통해 공유


DslDefinitionModelDomainModelSerializerBase.SaveModel Method

Definition

Saves the given model root to the given file, with specified encoding.

public:
 virtual void SaveModel(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::ModelElement ^ modelRoot, System::String ^ fileName, System::Text::Encoding ^ encoding);
public void SaveModel (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.ModelElement modelRoot, string fileName, System.Text.Encoding encoding);
abstract member SaveModel : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.ModelElement * string * System.Text.Encoding -> unit
override this.SaveModel : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.ModelElement * string * System.Text.Encoding -> unit
Public Sub SaveModel (serializationResult As SerializationResult, modelRoot As ModelElement, fileName As String, encoding As Encoding)

Parameters

serializationResult
SerializationResult

Stores serialization result from the save operation.

modelRoot
ModelElement

DslLibrary instance to be saved.

fileName
String

Name of the file in which the DslLibrary instance will be saved.

encoding
Encoding

Encoding to use when saving the DslLibrary instance.

Implements

Applies to