WindowStyle Property

ProcessStartInfo.WindowStyle Property

 

Gets or sets the window state to use when the process is started.

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

member WindowStyle : ProcessWindowStyle with get, set

Property Value

Type: System.Diagnostics.ProcessWindowStyle

One of the enumeration values that indicates whether the process is started in a window that is maximized, minimized, normal (neither maximized nor minimized), or not visible. The default is Normal.

Exception Condition
InvalidEnumArgumentException

The window style is not one of the ProcessWindowStyle enumeration members.

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft