Bagikan melalui


CoreDesignSurfaceDomainModelSerializerBase.LoadModel 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 Function LoadModel ( _
    serializationResult As SerializationResult, _
    partition As Partition, _
    fileName As String, _
    serializerLocator As ISerializerLocator _
) As ModelElement
public virtual ModelElement LoadModel(
    SerializationResult serializationResult,
    Partition partition,
    string fileName,
    ISerializerLocator serializerLocator
)
public:
virtual ModelElement^ LoadModel(
    SerializationResult^ serializationResult, 
    Partition^ partition, 
    String^ fileName, 
    ISerializerLocator^ serializerLocator
)
abstract LoadModel : 
        serializationResult:SerializationResult * 
        partition:Partition * 
        fileName:string * 
        serializerLocator:ISerializerLocator -> ModelElement  
override LoadModel : 
        serializationResult:SerializationResult * 
        partition:Partition * 
        fileName:string * 
        serializerLocator:ISerializerLocator -> ModelElement
public function LoadModel(
    serializationResult : SerializationResult, 
    partition : Partition, 
    fileName : String, 
    serializerLocator : ISerializerLocator
) : ModelElement

Parameters

  • fileName
    Type: String

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

Implements

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

.NET Framework Security

See Also

Reference

CoreDesignSurfaceDomainModelSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace