CoreDesignSurfaceSerializationHelperBase.InitializeSerializationContext Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Protected Overridable Sub InitializeSerializationContext ( _
partition As Partition, _
serializationContext As SerializationContext, _
isLoading As Boolean _
)
protected virtual void InitializeSerializationContext(
Partition partition,
SerializationContext serializationContext,
bool isLoading
)
protected:
virtual void InitializeSerializationContext(
Partition^ partition,
SerializationContext^ serializationContext,
bool isLoading
)
abstract InitializeSerializationContext :
partition:Partition *
serializationContext:SerializationContext *
isLoading:bool -> unit
override InitializeSerializationContext :
partition:Partition *
serializationContext:SerializationContext *
isLoading:bool -> unit
protected function InitializeSerializationContext(
partition : Partition,
serializationContext : SerializationContext,
isLoading : boolean
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The partition being serialized.
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
The current serialization context instance.
- isLoading
Type: System.Boolean
Flag to indicate whether the file is being loaded or saved.
.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.