Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Déclaration
ReadOnly Property CurrentWindow As Object
    Get
Object CurrentWindow { get; }
property Object^ CurrentWindow {
    Object^ get ();
}
abstract CurrentWindow : Object
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

Microsoft.VisualStudio.Modeling.Shell Namespace