ScopedItemOptions Enum

Definition

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.

[System.Flags]
public enum ScopedItemOptions
Inheritance
ScopedItemOptions
Attributes

Fields

AllScope

The item is propagated to each new child scope created.

Constant

The item cannot be removed or changed. This flag can only be set a variable creation.

None

There are no constraints on the item.

Private

The item is private to the scope it was created in and cannot be seen from child scopes.

ReadOnly

The item is readonly. It can be removed but cannot be changed.

Unspecified

The option is not specified by the user