AddModuleCommand.Alias Property
Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)
Usage
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification:="Cmdlets use arrays for parameters.")> _
<ParameterAttribute> _
<ValidateNotNullAttribute> _
Public Property Alias As String()
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification="Cmdlets use arrays for parameters.")]
[ParameterAttribute]
[ValidateNotNullAttribute]
public string[] Alias { get; set; }
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays", Justification=L"Cmdlets use arrays for parameters.")]
[ParameterAttribute]
[ValidateNotNullAttribute]
public:
property array<String^>^ Alias {
array<String^>^ get ();
void set (array<String^>^ value);
}
/** @property */
public String[] get_Alias ()
/** @property */
public void set_Alias (String[] value)
public function get Alias () : String[]
public function set Alias (value : String[])
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP
See Also
Reference
AddModuleCommand Class
AddModuleCommand Members
Microsoft.PowerShell.Commands Namespace