共用方式為


DslDefinitionModelSerializationHelper.LoadModel 方法 (SerializationResult, Partition, String, ISchemaResolver, ValidationController, ISerializerLocator)

載入 DslLibrary 執行個體。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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 命名空間