SessionStateVariableEntry Class

Definition

public sealed class SessionStateVariableEntry : System.Management.Automation.Runspaces.ConstrainedSessionStateEntry
Inheritance

Inherited Members

System.Management.Automation.Runspaces.ConstrainedSessionStateEntry

System.Management.Automation.Runspaces.InitialSessionStateEntry

Constructors

SessionStateVariableEntry(String, Object, String)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

SessionStateVariableEntry(String, Object, String, ScopedItemOptions)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

SessionStateVariableEntry(String, Object, String, ScopedItemOptions, Attribute)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

SessionStateVariableEntry(String, Object, String, ScopedItemOptions, Collection<Attribute>)

Is used to define a variable that should be created when the runspace is opened. Note - if this object is cloned, then the clone will contain a reference to the original object not a clone of it.

Properties

Attributes

The attributes that will be attached to this object.

Description

The description associated with this variable.

Options

The options associated with this variable (e.g. readonly, allscope, etc.)

Value

The value to bind to this variable.

Methods

Clone()

Shallow-clone this object...