CoreDesignSurfaceDomainModelSerializerBase.LoadModel 方法
擲回 NotImplementedException - 不能直接序列化 / 還原序列化 Dsl 文件庫。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Overridable Function LoadModel ( _
serializationResult As SerializationResult, _
partition As Partition, _
fileName As String, _
serializerLocator As ISerializerLocator _
) As ModelElement
public virtual ModelElement LoadModel(
SerializationResult serializationResult,
Partition partition,
string fileName,
ISerializerLocator serializerLocator
)
參數
- serializationResult
類型:Microsoft.VisualStudio.Modeling.SerializationResult
- partition
類型:Microsoft.VisualStudio.Modeling.Partition
- fileName
類型:System.String
- serializerLocator
類型:Microsoft.VisualStudio.Modeling.ISerializerLocator
傳回值
類型:Microsoft.VisualStudio.Modeling.ModelElement
實作
IDomainModelSerializer.LoadModel(SerializationResult, Partition, String, ISerializerLocator)
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。