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
- 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.