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
)
參數
- serializationResult
類型:Microsoft.VisualStudio.Modeling.SerializationResult
- partition
類型:Microsoft.VisualStudio.Modeling.Partition
- fileName
類型:System.String
- schemaResolver
類型:Microsoft.VisualStudio.Modeling.ISchemaResolver
- validationController
類型:Microsoft.VisualStudio.Modeling.Validation.ValidationController
- serializerLocator
類型:Microsoft.VisualStudio.Modeling.ISerializerLocator
傳回值
類型:Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
載入的 DslLibrary 執行個體。
備註
取代 LoadModel 基底實作,因此我們保證核心網域模型定義也是載入得。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。