PSListModifier<T> PSListModifier<T> PSListModifier<T> Constructors

Definition

Overloads

PSListModifier<T>() PSListModifier<T>()

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

PSListModifier<T>(Hashtable) PSListModifier<T>(Hashtable) PSListModifier<T>(Hashtable)

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

PSListModifier<T>(Object) PSListModifier<T>(Object) PSListModifier<T>(Object)

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

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

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

PSListModifier<T>() PSListModifier<T>()

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

public PSListModifier ();
Public Sub New ()

PSListModifier<T>(Hashtable) PSListModifier<T>(Hashtable) PSListModifier<T>(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<'T> : System.Collections.Hashtable -> System.Management.Automation.PSListModifier<'T>
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<T>(Object) PSListModifier<T>(Object) PSListModifier<T>(Object)

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

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

The items to replace an existing list with

PSListModifier<T>(Collection<Object>, Collection<Object>) PSListModifier<T>(Collection<Object>, Collection<Object>) PSListModifier<T>(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<'T> : System.Collections.ObjectModel.Collection<obj> * System.Collections.ObjectModel.Collection<obj> -> System.Management.Automation.PSListModifier<'T>
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