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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.