Partager via


DslDefinitionModelDomainModelSerializerBase.LoadModel Method

Definition

Loads a DslLibrary instance and its associated diagram file.

public:
 virtual Microsoft::VisualStudio::Modeling::ModelElement ^ LoadModel(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::Partition ^ partition, System::String ^ fileName, Microsoft::VisualStudio::Modeling::ISerializerLocator ^ serializerLocator);
public virtual Microsoft.VisualStudio.Modeling.ModelElement LoadModel (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.Partition partition, string fileName, Microsoft.VisualStudio.Modeling.ISerializerLocator serializerLocator);
abstract member LoadModel : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Partition * string * Microsoft.VisualStudio.Modeling.ISerializerLocator -> Microsoft.VisualStudio.Modeling.ModelElement
override this.LoadModel : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Partition * string * Microsoft.VisualStudio.Modeling.ISerializerLocator -> Microsoft.VisualStudio.Modeling.ModelElement
Public Overridable Function LoadModel (serializationResult As SerializationResult, partition As Partition, fileName As String, serializerLocator As ISerializerLocator) As ModelElement

Parameters

serializationResult
SerializationResult

Stores serialization result from the load operation.

partition
Partition

Partition in which the new DslLibrary instance will be created.

fileName
String

Name of the file from which the DslLibrary instance will be deserialized.

serializerLocator
ISerializerLocator

Used to locate any additional domain model types required to load the model. Can be null.

Returns

The loaded DslLibrary instance.

Implements

Applies to