CommandSet.MonitorSelection Property
Gets an instance of the IMonitorSelectionService service, which identifies which window is active.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected ReadOnly Property MonitorSelection As IMonitorSelectionService
'Usage
Dim value As IMonitorSelectionService
value = Me.MonitorSelection
protected IMonitorSelectionService MonitorSelection { get; }
protected:
property IMonitorSelectionService^ MonitorSelection {
IMonitorSelectionService^ get ();
}
protected function get MonitorSelection () : IMonitorSelectionService
Property Value
Type: Microsoft.VisualStudio.Modeling.Shell.IMonitorSelectionService
An instance of the IMonitorSelectionService service.
.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.