DslDefinitionModelSerializationHelper.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 Overrides Function LoadModel ( _
    serializationResult As SerializationResult, _
    partition As Partition, _
    fileName As String, _
    schemaResolver As ISchemaResolver, _
    validationController As ValidationController, _
    serializerLocator As ISerializerLocator _
) As DslLibrary
public override DslLibrary LoadModel(
    SerializationResult serializationResult,
    Partition partition,
    string fileName,
    ISchemaResolver schemaResolver,
    ValidationController validationController,
    ISerializerLocator serializerLocator
)

参数

返回值

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

备注

替换基本 LoadModel 实现,为了确保核心域模型定义也是加载的。

.NET Framework 安全性

请参见

参考

DslDefinitionModelSerializationHelper 类

LoadModel 重载

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间