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

See Also

Reference

CommandSet Class

CommandSet Members

Microsoft.VisualStudio.Modeling.Shell Namespace