IDomainModelSerializer.LoadModel Method

Loads the model file into the specified partition and returns the root model element.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

声明
Function LoadModel ( _
    serializationResult As SerializationResult, _
    partition As Partition, _
    fileName As String, _
    serializerLocator As ISerializerLocator _
) As ModelElement
ModelElement LoadModel(
    SerializationResult serializationResult,
    Partition partition,
    string fileName,
    ISerializerLocator serializerLocator
)
ModelElement^ LoadModel(
    SerializationResult^ serializationResult, 
    Partition^ partition, 
    String^ fileName, 
    ISerializerLocator^ serializerLocator
)
abstract LoadModel : 
        serializationResult:SerializationResult * 
        partition:Partition * 
        fileName:string * 
        serializerLocator:ISerializerLocator -> ModelElement 
function LoadModel(
    serializationResult : SerializationResult, 
    partition : Partition, 
    fileName : String, 
    serializerLocator : ISerializerLocator
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement
The root model element

.NET Framework Security

See Also

Reference

IDomainModelSerializer Interface

Microsoft.VisualStudio.Modeling Namespace