Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CommandParameter Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Represents a parameter of a Command object.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.Runspaces.CommandParameter

public sealed class CommandParameter

NameDescription
System_CAPS_pubmethodCommandParameter(String)

Creates a new CommandParameter object that contains a parameter name. The value of the parameter is null.

System_CAPS_pubmethodCommandParameter(String, Object)

Creates a new CommandParameter object that contains a parameter name and value.

NameDescription
System_CAPS_pubpropertyName

Gets the name of the parameter.

System_CAPS_pubpropertyValue

Gets the value of the parameter.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: