Environment.PreserveWhenSwitchModelState Property

Parent Object: Environment

Description

Gets and sets whether the environment status would be preserved when switch model state in an assembly. This would make sure the environment to be preserved when switch between substitute model state and other model state in an assembly.For built-in environmen.

Syntax

Environment.PreserveWhenSwitchModelState() As Boolean

Property Value

This is a read/write property whose value is a Boolean.

Version

Introduced in version 2022