Delen via


IDomainModelSerializer.SaveModel Method

Save the model rooted on the specified element to a file

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

Syntax

'Declaration
Sub SaveModel ( _
    serializationResult As SerializationResult, _
    modelRoot As ModelElement, _
    fileName As String, _
    encoding As Encoding _
)
void SaveModel(
    SerializationResult serializationResult,
    ModelElement modelRoot,
    string fileName,
    Encoding encoding
)
void SaveModel(
    SerializationResult^ serializationResult, 
    ModelElement^ modelRoot, 
    String^ fileName, 
    Encoding^ encoding
)
abstract SaveModel : 
        serializationResult:SerializationResult * 
        modelRoot:ModelElement * 
        fileName:string * 
        encoding:Encoding -> unit
function SaveModel(
    serializationResult : SerializationResult, 
    modelRoot : ModelElement, 
    fileName : String, 
    encoding : Encoding
)

Parameters

.NET Framework Security

See Also

Reference

IDomainModelSerializer Interface

Microsoft.VisualStudio.Modeling Namespace