CoreDesignSurfaceDomainModelSerializerBase.LoadModel Method
Throws NotImplementedException - Dsl libraries cannot be serialized / deserialized directly.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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
)
public:
virtual ModelElement^ LoadModel(
SerializationResult^ serializationResult,
Partition^ partition,
String^ fileName,
ISerializerLocator^ serializerLocator
)
abstract LoadModel :
serializationResult:SerializationResult *
partition:Partition *
fileName:string *
serializerLocator:ISerializerLocator -> ModelElement
override LoadModel :
serializationResult:SerializationResult *
partition:Partition *
fileName:string *
serializerLocator:ISerializerLocator -> ModelElement
public function LoadModel(
serializationResult : SerializationResult,
partition : Partition,
fileName : String,
serializerLocator : ISerializerLocator
) : ModelElement
Parameters
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
- fileName
Type: System.String
- serializerLocator
Type: Microsoft.VisualStudio.Modeling.ISerializerLocator
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
Implements
IDomainModelSerializer.LoadModel(SerializationResult, Partition, String, ISerializerLocator)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.