CoreDesignSurfaceDomainModelSerializerBase.SaveModelAndDiagram Method
Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Sub SaveModelAndDiagram ( _
serializationResult As SerializationResult, _
modelRoot As ModelElement, _
modelFileName As String, _
diagram As ModelElement, _
diagramFileName As String, _
encoding As Encoding _
)
public virtual void SaveModelAndDiagram(
SerializationResult serializationResult,
ModelElement modelRoot,
string modelFileName,
ModelElement diagram,
string diagramFileName,
Encoding encoding
)
public:
virtual void SaveModelAndDiagram(
SerializationResult^ serializationResult,
ModelElement^ modelRoot,
String^ modelFileName,
ModelElement^ diagram,
String^ diagramFileName,
Encoding^ encoding
)
abstract SaveModelAndDiagram :
serializationResult:SerializationResult *
modelRoot:ModelElement *
modelFileName:string *
diagram:ModelElement *
diagramFileName:string *
encoding:Encoding -> unit
override SaveModelAndDiagram :
serializationResult:SerializationResult *
modelRoot:ModelElement *
modelFileName:string *
diagram:ModelElement *
diagramFileName:string *
encoding:Encoding -> unit
public function SaveModelAndDiagram(
serializationResult : SerializationResult,
modelRoot : ModelElement,
modelFileName : String,
diagram : ModelElement,
diagramFileName : String,
encoding : Encoding
)
Parameters
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
- modelRoot
Type: Microsoft.VisualStudio.Modeling.ModelElement
- modelFileName
Type: System.String
- diagram
Type: Microsoft.VisualStudio.Modeling.ModelElement
- diagramFileName
Type: System.String
- encoding
Type: System.Text.Encoding
Implements
.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.