DslDefinitionModelSerializationHelperBase.InitializeSerializationContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.