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

'宣言
ReadOnly Property CurrentWindow As Object
'使用
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.

Permissions

See Also

Reference

IMonitorSelectionService Interface

IMonitorSelectionService Members

Microsoft.VisualStudio.Modeling.Shell Namespace