Share via


Window2.Active property

Gets a value that indicates whether the window associated with the WindowObject object is the active window.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
ReadOnly Property Active As Boolean
    Get
'Usage
Dim instance As Window2
Dim value As Boolean

value = instance.Active
bool Active { get; }

Property value

Type: System.Boolean

Implements

Window.Active

Remarks

To designate a window as the active window, use the Activate method.

See also

Reference

Window2 interface

Window2 members

Active overload

Microsoft.Office.Interop.InfoPath namespace