NewModuleCommand.Command Property

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in system.management.automation.dll)

Usage

Syntax

'Declaration
<ParameterAttribute> _
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification:="Cmdlets use arrays for parameters.")> _
Public Property Command As String()
[ParameterAttribute] 
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays", Justification="Cmdlets use arrays for parameters.")] 
public string[] Command { get; set; }
[ParameterAttribute] 
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays", Justification=L"Cmdlets use arrays for parameters.")] 
public:
property array<String^>^ Command {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_Command ()

/** @property */
public void set_Command (String[] value)
public function get Command () : String[]

public function set Command (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

NewModuleCommand Class
NewModuleCommand Members
Microsoft.PowerShell.Commands Namespace