PSListModifier PSListModifier PSListModifier Constructors

Definition

Overloads

PSListModifier() PSListModifier()

Create a new PSListModifier with empty lists for Add/Remove.

PSListModifier(Hashtable) PSListModifier(Hashtable) PSListModifier(Hashtable)

Create a new PSListModifier with the specified add and remove lists (in the hash.)

PSListModifier(Object) PSListModifier(Object) PSListModifier(Object)

Create a new PSListModifier to replace a given list with replaceItems.

PSListModifier(Collection<Object>, Collection<Object>) PSListModifier(Collection<Object>, Collection<Object>) PSListModifier(Collection<Object>, Collection<Object>)

Create a new PSListModifier with the specified add and remove lists.

PSListModifier() PSListModifier()

Create a new PSListModifier with empty lists for Add/Remove.

public PSListModifier ();
Public Sub New ()

PSListModifier(Hashtable) PSListModifier(Hashtable) PSListModifier(Hashtable)

Create a new PSListModifier with the specified add and remove lists (in the hash.)

public PSListModifier (System.Collections.Hashtable hash);
new System.Management.Automation.PSListModifier : System.Collections.Hashtable -> System.Management.Automation.PSListModifier
Public Sub New (hash As Hashtable)
Parameters
hash
Hashtable Hashtable Hashtable

A hashtable, where the value for key Add is the list to add and the value for Remove is the list to remove.

PSListModifier(Object) PSListModifier(Object) PSListModifier(Object)

Create a new PSListModifier to replace a given list with replaceItems.

public PSListModifier (object replacementItems);
new System.Management.Automation.PSListModifier : obj -> System.Management.Automation.PSListModifier
Public Sub New (replacementItems As Object)
Parameters
replacementItems
Object Object Object

The item(s) to replace an existing list with

PSListModifier(Collection<Object>, Collection<Object>) PSListModifier(Collection<Object>, Collection<Object>) PSListModifier(Collection<Object>, Collection<Object>)

Create a new PSListModifier with the specified add and remove lists.

public PSListModifier (System.Collections.ObjectModel.Collection<object> removeItems, System.Collections.ObjectModel.Collection<object> addItems);
new System.Management.Automation.PSListModifier : System.Collections.ObjectModel.Collection<obj> * System.Collections.ObjectModel.Collection<obj> -> System.Management.Automation.PSListModifier
Public Sub New (removeItems As Collection(Of Object), addItems As Collection(Of Object))
Parameters
removeItems
Collection<Object>

The items to remove

addItems
Collection<Object>

The items to add

Applies to