AliasAttribute Class
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.
C++
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
Alias |
Initializes a new instance of the AliasAttribute class. |
Alias |
Gets the alias names passed to the constructor. |
Proizvod | Verzije |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |