Share via


CoreDesignSurfaceDomainModelSerializerBase.SaveModel 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 SaveModel ( _
    serializationResult As SerializationResult, _
    modelRoot As ModelElement, _
    fileName As String, _
    encoding As Encoding _
)
public virtual void SaveModel(
    SerializationResult serializationResult,
    ModelElement modelRoot,
    string fileName,
    Encoding encoding
)
public:
virtual void SaveModel(
    SerializationResult^ serializationResult, 
    ModelElement^ modelRoot, 
    String^ fileName, 
    Encoding^ encoding
)
abstract SaveModel : 
        serializationResult:SerializationResult * 
        modelRoot:ModelElement * 
        fileName:string * 
        encoding:Encoding -> unit  
override SaveModel : 
        serializationResult:SerializationResult * 
        modelRoot:ModelElement * 
        fileName:string * 
        encoding:Encoding -> unit
public function SaveModel(
    serializationResult : SerializationResult, 
    modelRoot : ModelElement, 
    fileName : String, 
    encoding : Encoding
)

Parameters

  • fileName
    Type: String
  • encoding
    Type: Encoding

Implements

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

.NET Framework Security

See Also

Reference

CoreDesignSurfaceDomainModelSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace