Share via


CoreDesignSurfaceSerializationHelperBase.InitializeSerializationContext Method

Definition

protected:
 virtual void InitializeSerializationContext(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, bool isLoading);
protected virtual void InitializeSerializationContext (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, bool isLoading);
abstract member InitializeSerializationContext : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.SerializationContext * bool -> unit
override this.InitializeSerializationContext : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.SerializationContext * bool -> unit
Protected Overridable Sub InitializeSerializationContext (partition As Partition, serializationContext As SerializationContext, isLoading As Boolean)

Parameters

partition
Partition

The partition being serialized.

serializationContext
SerializationContext

The current serialization context instance.

isLoading
Boolean

Flag to indicate whether the file is being loaded or saved.

Applies to