AliasAttribute Class

Definition

Declares an alternative name for a parameter, cmdlet, or function.

C++
public ref class AliasAttribute sealed : System::Management::Automation::Internal::ParsingBaseAttribute
Inheritance
Attributes

Constructors

AliasAttribute(String[])

Initializes a new instance of the AliasAttribute class.

Properties

AliasNames

Gets the alias names passed to the constructor.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0