Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ProcessStartInfo.WindowStyle Property

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

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

[<MonitoringDescriptionAttribute("ProcessWindowStyle")>]
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.

ExceptionCondition
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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft