UtilUIAutomationSetWindowState(Process, ProcessWindowStyle) Method

Set the visibility state of a window.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool SetWindowState(
	Process p,
	ProcessWindowStyle state
)

Parameters

p  Process
The process.
state  ProcessWindowStyle
The window state.

Return Value

Boolean
If the window was previously visible, the return value is . If the window was previously hidden, the return value is .

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

InvalidEnumArgumentException state

See Also