Share via


CommandParameterCollection Class

Definition

Defines a collection of parameters.

public ref class CommandParameterCollection sealed : 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, Object)

Add a parameter with given name and value.

Add(String)

Add a parameter with given name and default null value.

Applies to