CoreDesignSurfaceDomainModelSerializerBase.SaveModel Method
Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
- modelRoot
Type: Microsoft.VisualStudio.Modeling.ModelElement
- fileName
Type: System.String
- encoding
Type: System.Text.Encoding
Implements
IDomainModelSerializer.SaveModel(SerializationResult, ModelElement, String, Encoding)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.