AliasAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Declares an alternative name for a parameter, cmdlet, or function.
public ref class AliasAttribute sealed : System::Management::Automation::Internal::ParsingBaseAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class AliasAttribute : System.Management.Automation.Internal.ParsingBaseAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)>]
type AliasAttribute = class
inherit ParsingBaseAttribute
Public NotInheritable Class AliasAttribute
Inherits ParsingBaseAttribute
- Inheritance
- Attributes
Constructors
AliasAttribute(String[]) |
Initializes a new instance of the AliasAttribute class. |
Properties
AliasNames |
Gets the alias names passed to the constructor. |