Delen via


BatchedTagsChangedEventArgs Class

Provides information for the BatchedTagsChanged event.

Inheritance Hierarchy

Object
  EventArgs
    Microsoft.VisualStudio.Text.Tagging.BatchedTagsChangedEventArgs

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Class BatchedTagsChangedEventArgs _
    Inherits EventArgs
public class BatchedTagsChangedEventArgs : EventArgs
public ref class BatchedTagsChangedEventArgs : public EventArgs
type BatchedTagsChangedEventArgs =  
    class 
        inherit EventArgs 
    end
public class BatchedTagsChangedEventArgs extends EventArgs

The BatchedTagsChangedEventArgs type exposes the following members.

Constructors

  Name Description
Public method BatchedTagsChangedEventArgs Initializes a new instance of BatchedTagsChangedEventArgs with the specified list of IMappingSpan objects.

Top

Properties

  Name Description
Public property Spans Gets the list of IMappingSpan objects where the tags have changed.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

It includes a list of all mapping spans where tags have changed since the last batched tags changed event.

This event is raised on the same thread as the thread that created the tag aggregator.

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

Microsoft.VisualStudio.Text.Tagging Namespace