Condividi tramite


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

Name Value Description
None 0

There are no constraints on the item.

ReadOnly 1

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

Constant 2

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

Private 4

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

AllScope 8

The item is propagated to each new child scope created.

Unspecified 16

The option is not specified by the user.

Applies to