CreateNoWindow Property

ProcessStartInfo.CreateNoWindow Property


Gets or sets a value indicating whether to start the process in a new window.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

member CreateNoWindow : bool with get, set

Property Value

Type: System.Boolean

true if the process should be started without creating a new window to contain it; otherwise, false. The default is false.

If the UseShellExecute property is true or the UserName and Password properties are not null, the CreateNoWindow property value is ignored and a new window is created.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft