共用方式為


CoreDesignSurfaceDomainModelSerializerBase.LoadModel 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

'宣告
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

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