System.Diagnostics.ProcessStartInfo.Arguments Property

Gets or sets the set of command-line arguments to use when starting the application.

Syntax

[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.RecommendedAsConfigurable(true)]
[System.ComponentModel.TypeConverter("System.Diagnostics.Design.StringValueConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.Diagnostics.MonitoringDescription("Command line agruments for this process.")]
public string Arguments { get; set; }

Value

Arguments that should be passed to the program specified in ProcessStartInfo.FileName.

Remarks

Note:

Multiple arguments are seperated by spaces like they are on the commandline.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0