Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScopedItemOptions Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines how session state data can be used.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

[FlagsAttribute]
public enum ScopedItemOptions

Member nameDescription
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

Return to top
Show:
© 2016 Microsoft