ScopedItemOptions Enum

Definition

The options that define some of the constraints for session state items like variables, aliases, and functions.

This enumeration supports a bitwise combination of its member values.

public enum class ScopedItemOptions
[System.Flags]
public enum ScopedItemOptions
[<System.Flags>]
type ScopedItemOptions = 
Public Enum ScopedItemOptions
Inheritance
ScopedItemOptions
Attributes

Fields

AllScope 8

The item is propagated to each new child scope created.

Constant 2

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

None 0

There are no constraints on the item.

Private 4

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

ReadOnly 1

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

Unspecified 16

The option is not specified by the user.

Applies to