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

'宣言
Protected ReadOnly Property MonitorSelection As IMonitorSelectionService
'使用
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.

Permissions

See Also

Reference

CommandSet Class

CommandSet Members

Microsoft.VisualStudio.Modeling.Shell Namespace