DslDefinitionModelDomainModelSerializerBase.LoadModelAndDiagram 方法

加载 DslLibrary 实例及其关联的关系图文件。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

语法

声明
Public Function LoadModelAndDiagram ( _
    serializationResult As SerializationResult, _
    modelPartition As Partition, _
    modelFileName As String, _
    diagramPartition As Partition, _
    diagramFileName As String, _
    serializerLocator As ISerializerLocator _
) As ModelElement
public ModelElement LoadModelAndDiagram(
    SerializationResult serializationResult,
    Partition modelPartition,
    string modelFileName,
    Partition diagramPartition,
    string diagramFileName,
    ISerializerLocator serializerLocator
)

参数

  • modelFileName
    类型:System.String
    DslLibrary 实例将文件的名称。
  • diagramFileName
    类型:System.String
    文件的名称的全局:: Microsoft.VisualStudio.Modeling.DslDesigner.DslDesignerDiagram 实例被反序列化。

返回值

类型:Microsoft.VisualStudio.Modeling.ModelElement
加载的 DslLibrary 实例。

实现

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

.NET Framework 安全性

请参见

参考

DslDefinitionModelDomainModelSerializerBase 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间