Share via


ShowCommandCommand.Name Property

Gets or sets the name of the command specified with the Show-Command cmdlet.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

Usage

'Usage
Dim instance As ShowCommandCommand
Dim value As String

value = instance.Name

instance.Name = value

Syntax

'Declaration
<ParameterAttribute(Position:=0)> _
<AliasAttribute(System.String[])> _
Public Property Name As String
[ParameterAttribute(Position=0)] 
[AliasAttribute(System.String[])] 
public string Name { get; set; }
[ParameterAttribute(Position=0)] 
[AliasAttribute(System.String[])] 
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Name ()

/** @property */
public void set_Name (String value)
public function get Name () : String

public function set Name (value : String)

Property Value

A String.

Remarks

This property represents the –Name parameter in the Show-Command cmdlet.

Thread Safety

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

Platforms

Target Platforms

See Also

Reference

ShowCommandCommand Class
ShowCommandCommand Members
Microsoft.PowerShell.Commands Namespace