AliasAttribute Constructor

Creates a new AliasAttribute object that contains one or more user-friendly names for a cmdlet parameter.


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

'Usage
Dim aliasNames As String()

Dim instance As New AliasAttribute(aliasNames)

public AliasAttribute (
	params string[] aliasNames
)
public AliasAttribute (
	String[] aliasNames
)
public function AliasAttribute (
	... aliasNames : String[]
)

Parameters

aliasNames

One or more alias names for the cmdlet parameter.

The Alias attribute is used to provide either a shortcut or multiple ways to specify a cmdlet parameter. For more information about the syntax and parameters of the Alias attribute, see Alias Attribute Declaration.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft