Share via


IMonitorSelectionService.CurrentWindow Property

Gets the document pane or tool window pane that is active.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
ReadOnly Property CurrentWindow As Object
'Usage
Dim instance As IMonitorSelectionService 
Dim value As Object 

value = instance.CurrentWindow
Object CurrentWindow { get; }
property Object^ CurrentWindow {
    Object^ get ();
}
function get CurrentWindow () : Object

Property Value

Type: System.Object
The document pane or tool window pane that is active.

Remarks

The window pane that is active usually implements the IVsWindowPane interface.

.NET Framework Security

See Also

Reference

IMonitorSelectionService Interface

IMonitorSelectionService Members

Microsoft.VisualStudio.Modeling.Shell Namespace