DslDefinitionModelSerializationHelperBase.LoadModel 方法 (SerializationResult, Partition, 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 LoadModel ( _
    serializationResult As SerializationResult, _
    partition As Partition, _
    fileName As String, _
    schemaResolver As ISchemaResolver, _
    validationController As ValidationController, _
    serializerLocator As ISerializerLocator _
) As DslLibrary
public virtual DslLibrary LoadModel(
    SerializationResult serializationResult,
    Partition partition,
    string fileName,
    ISchemaResolver schemaResolver,
    ValidationController validationController,
    ISerializerLocator serializerLocator
)

参数

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

返回值

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

.NET Framework 安全性

请参见

参考

DslDefinitionModelSerializationHelperBase 类

LoadModel 重载

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间