Partager via


GetCommandCommand.CommandType Property

Definition

Gets or sets the type of the command to get.

public:
 property System::Management::Automation::CommandTypes CommandType { System::Management::Automation::CommandTypes get(); void set(System::Management::Automation::CommandTypes value); };
public System.Management.Automation.CommandTypes CommandType { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Type" })]
[System.Management.Automation.Parameter(ParameterSetName="AllCommandSet", ValueFromPipelineByPropertyName=true)]
public System.Management.Automation.CommandTypes CommandType { get; set; }
member this.CommandType : System.Management.Automation.CommandTypes with get, set
[<System.Management.Automation.Alias(new System.String[] { "Type" })>]
[<System.Management.Automation.Parameter(ParameterSetName="AllCommandSet", ValueFromPipelineByPropertyName=true)>]
member this.CommandType : System.Management.Automation.CommandTypes with get, set
Public Property CommandType As CommandTypes

Property Value

Attributes

Applies to