共用方式為


DslDefinitionModelSerializationHelperBase.InitializeSerializationContext Method

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
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

  • isLoading
    Type: System.Boolean
    Flag to indicate whether the file is being loaded or saved.

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace