PSListModifier Constructor

Initializes a new instance of the PSListModifier class. The variants of this constructor can create an empty object or an object filled with Add, Remove, and Replace lists. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
PSListModifier ()Initializes a new instance of the PSListModifier class that contains empty Add, Remove, and Replace lists. This constructor is introduced by Windows PowerShell 2.0.
PSListModifier (Hashtable)Initializes a new instance of the PSListModifier class that contains Add, Remove, and Replace lists that are defined by a hash table. This constructor is introduced by Windows PowerShell 2.0.
PSListModifier (Collection, Collection)Initializes a new instance of the PSListModifier class that contains Add and Remove lists that are defined by using individual collections. This constructor is introduced by Windows PowerShell 2.0.
PSListModifier (Object)Initializes a new instance of the PSListModifier class that contains a Replace list based on an Object. This constructor is introduced by Windows PowerShell 2.0.


Show:
© 2014 Microsoft