PSListModifier Members

Provides Add, Remove, and Replace lists that can be used to update lists. This class is introduced in Windows PowerShell 2.0.

The following tables list the members exposed by the PSListModifier type.

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

  Name Description
public property Add Gets the Add list that is used when the ApplyTo method is called. This property is introduced in Windows PowerShell 2.0.
public property Remove Gets the Remove list that is used when the ApplyTo method is called. This property is introduced in Windows PowerShell 2.0.
public property Replace Gets the Replace list that is used to replace all the items of an existing list. This property is introduced in Windows PowerShell 2.0.
Top

(see also Protected Methods)
 NameDescription
public methodApplyToOverloaded. Updates the specified list by using the current Add, Remove, and Replace lists. The variants of this method can update a collection that is represented by a list or an object. This method is introduced in Windows PowerShell 2.0.
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodToString  (Inherited from Object)
Top

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top


Show:
© 2015 Microsoft