ScopedItemOptions ScopedItemOptions ScopedItemOptions 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 ScopedItemOptions
type ScopedItemOptions = 
Public Enum ScopedItemOptions


AllScope AllScope AllScope

The item is propagated to each new child scope created.

Constant Constant Constant

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

None None None

There are no constraints on the item.

Private Private Private

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

ReadOnly ReadOnly ReadOnly

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

Unspecified Unspecified Unspecified

The option is not specified by the user