DslDefinitionModelSerializationHelperBase.LoadModelAndDiagram 方法 (Store, String, String, ISchemaResolver, ValidationController, ISerializerLocator)

加载 DslLibrary 实例及其关联的关系图文件添加到特定存储的默认分区,并忽略序列化结果。

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

语法

声明
Public Overridable Function LoadModelAndDiagram ( _
    store As Store, _
    modelFileName As String, _
    diagramFileName As String, _
    schemaResolver As ISchemaResolver, _
    validationController As ValidationController, _
    serializerLocator As ISerializerLocator _
) As DslLibrary
public virtual DslLibrary LoadModelAndDiagram(
    Store store,
    string modelFileName,
    string diagramFileName,
    ISchemaResolver schemaResolver,
    ValidationController validationController,
    ISerializerLocator serializerLocator
)

参数

  • modelFileName
    类型:System.String
    DslLibrary 实例将文件的名称。
  • diagramFileName
    类型:System.String
    DslDesignerDiagram 实例将文件的名称。

返回值

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

.NET Framework 安全性

请参见

参考

DslDefinitionModelSerializationHelperBase 类

LoadModelAndDiagram 重载

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间