CommandParameterCollection Class

Definition

Defines a collection of parameters.

public sealed class CommandParameterCollection : System.Collections.ObjectModel.Collection<System.Management.Automation.Runspaces.CommandParameter>
Inheritance
CommandParameterCollection

Constructors

CommandParameterCollection()

Create a new empty instance of this collection type

Methods

Add(String)

Add a parameter with given name and default null value

Add(String, Object)

Add a parameter with given name and value