Compartir a través de


AliasAttribute Class

Definition

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.

Applies to