Freigeben über


CommandParameterCollection Class

Definition

Defines a collection of parameters.

public ref class CommandParameterCollection sealed : System::Collections::ObjectModel::Collection<System::Management::Automation::Runspaces::CommandParameter ^>
public sealed class CommandParameterCollection : System.Collections.ObjectModel.Collection<System.Management.Automation.Runspaces.CommandParameter>
type CommandParameterCollection = class
    inherit Collection<CommandParameter>
Public NotInheritable Class CommandParameterCollection
Inherits Collection(Of 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