Sdílet prostřednictvím


AliasAttribute(String[]) Constructor

Definition

Initializes a new instance of the AliasAttribute class.

public:
 AliasAttribute(... cli::array <System::String ^> ^ aliasNames);
public AliasAttribute (params string[] aliasNames);
new System.Management.Automation.AliasAttribute : string[] -> System.Management.Automation.AliasAttribute
Public Sub New (ParamArray aliasNames As String())

Parameters

aliasNames
String[]

The name for this alias.

Exceptions

For invalid arguments.

Applies to