Compartir a través de


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

Syntax

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

Microsoft.VisualStudio.Modeling.Shell Namespace