Condividi tramite


Exec.Command Property

Definition

Gets or sets the command to run.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property System::String ^ Command { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.Build.Framework.Required]
public string Command { get; set; }
[Microsoft.Build.Framework.Required]
public string Command { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
[<Microsoft.Build.Framework.Required>]
member this.Command : string with get, set
[<Microsoft.Build.Framework.Required>]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Command : string with get, set
Public Property Command As String

Property Value

The command to run.

Attributes

Remarks

The command to run can be a system command, such as attrib, or an executable, such as program.exe.

Applies to