Partager via


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

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

Implements

IDomainModelSerializer.LoadModelAndDiagram(SerializationResult, Partition, String, Partition, String, ISerializerLocator)

.NET Framework Security

See Also

Reference

CoreDesignSurfaceDomainModelSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace