MonitorSelectionServiceHelper Class

Helper class to listen to document selection changes and raise events to other doc windows or tool windows to make related changes, such as content refresh, watermark change, or undo/redo stack changes.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class MonitorSelectionServiceHelper _
    Implements IDisposable, IVsSelectionEvents
'Usage
Dim instance As MonitorSelectionServiceHelper
[CLSCompliantAttribute(false)]
public sealed class MonitorSelectionServiceHelper : IDisposable, 
    IVsSelectionEvents
[CLSCompliantAttribute(false)]
public ref class MonitorSelectionServiceHelper sealed : IDisposable, 
    IVsSelectionEvents
public final class MonitorSelectionServiceHelper implements IDisposable, IVsSelectionEvents
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type MonitorSelectionServiceHelper =  
    class
        interface IDisposable
        interface IVsSelectionEvents
    end

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Project.Common.UI.MonitorSelectionServiceHelper

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MonitorSelectionServiceHelper Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace