CoreDesignSurfaceDomainModelSerializerBase.LoadModelAndDiagram 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 Function LoadModelAndDiagram ( _
serializationResult As SerializationResult, _
modelPartition As Partition, _
modelFileName As String, _
diagramPartition As Partition, _
diagramFileName As String, _
serializerLocator As ISerializerLocator _
) As ModelElement
public virtual ModelElement LoadModelAndDiagram(
SerializationResult serializationResult,
Partition modelPartition,
string modelFileName,
Partition diagramPartition,
string diagramFileName,
ISerializerLocator serializerLocator
)
public:
virtual ModelElement^ LoadModelAndDiagram(
SerializationResult^ serializationResult,
Partition^ modelPartition,
String^ modelFileName,
Partition^ diagramPartition,
String^ diagramFileName,
ISerializerLocator^ serializerLocator
)
abstract LoadModelAndDiagram :
serializationResult:SerializationResult *
modelPartition:Partition *
modelFileName:string *
diagramPartition:Partition *
diagramFileName:string *
serializerLocator:ISerializerLocator -> ModelElement
override LoadModelAndDiagram :
serializationResult:SerializationResult *
modelPartition:Partition *
modelFileName:string *
diagramPartition:Partition *
diagramFileName:string *
serializerLocator:ISerializerLocator -> ModelElement
public function LoadModelAndDiagram(
serializationResult : SerializationResult,
modelPartition : Partition,
modelFileName : String,
diagramPartition : Partition,
diagramFileName : String,
serializerLocator : ISerializerLocator
) : ModelElement
Parameters
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
- modelPartition
Type: Microsoft.VisualStudio.Modeling.Partition
- modelFileName
Type: System.String
- diagramPartition
Type: Microsoft.VisualStudio.Modeling.Partition
- diagramFileName
Type: System.String
- serializerLocator
Type: Microsoft.VisualStudio.Modeling.ISerializerLocator
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
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.