Item Options Enum
The options that define some of the constraints for session state items like variables, aliases, and functions.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
public enum class ScopedItemOptions
[System.Flags] public enum ScopedItemOptions
type ScopedItemOptions =
Public Enum ScopedItemOptions
The item is propagated to each new child scope created.
The item cannot be removed or changed. This flag can only be set a variable creation.
There are no constraints on the item.
The item is private to the scope it was created in and cannot be seen from child scopes.
The item is readonly. It can be removed but cannot be changed.
The option is not specified by the user