IDomainModelSerializer.LoadModelAndDiagram Yöntem

Tanım

Modeli ve diyagram dosyalarını belirtilen bölüme yükler ve kök model öğesini döndürür.

public:
 Microsoft::VisualStudio::Modeling::ModelElement ^ LoadModelAndDiagram(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::Partition ^ modelPartition, System::String ^ modelFileName, Microsoft::VisualStudio::Modeling::Partition ^ diagramPartition, System::String ^ diagramFileName, Microsoft::VisualStudio::Modeling::ISerializerLocator ^ serializerLocator);
public Microsoft.VisualStudio.Modeling.ModelElement LoadModelAndDiagram (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.Partition modelPartition, string modelFileName, Microsoft.VisualStudio.Modeling.Partition diagramPartition, string diagramFileName, Microsoft.VisualStudio.Modeling.ISerializerLocator serializerLocator);
abstract member LoadModelAndDiagram : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Partition * string * Microsoft.VisualStudio.Modeling.Partition * string * Microsoft.VisualStudio.Modeling.ISerializerLocator -> Microsoft.VisualStudio.Modeling.ModelElement
Public Function LoadModelAndDiagram (serializationResult As SerializationResult, modelPartition As Partition, modelFileName As String, diagramPartition As Partition, diagramFileName As String, serializerLocator As ISerializerLocator) As ModelElement

Parametreler

serializationResult
SerializationResult

Yükün sonucu hakkında ayrıntılı bilgi

modelPartition
Partition

Modelin yüklenmesi gereken bölüm

modelFileName
String

Yüklenecek model dosyasının adı

diagramPartition
Partition

Diyagramın yüklenmesi gereken bölüm

diagramFileName
String

Yüklenecek Diyagram dosyasının adı

serializerLocator
ISerializerLocator

Model dosyasında karşılaşılan başka bir etki alanı modeli ad alanını çözümlemeye çalışırken kullanılacak seri hale getirici Bulucu. Boş olabilir.

Döndürülenler

ModelElement

Kök model öğesi

Şunlara uygulanır