Compartilhar via


INormalizedTextChangeCollection Interface

A normalized list of ITextChange objects. Changes are sorted in ascending order of position, and abutting and overlapping changes are combined into a single change.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Public Interface INormalizedTextChangeCollection _
    Inherits IList(Of ITextChange), ICollection(Of ITextChange),  _
    IEnumerable(Of ITextChange), IEnumerable
public interface INormalizedTextChangeCollection : IList<ITextChange>, 
    ICollection<ITextChange>, IEnumerable<ITextChange>, IEnumerable
public interface class INormalizedTextChangeCollection : IList<ITextChange^>, 
    ICollection<ITextChange^>, IEnumerable<ITextChange^>, IEnumerable
type INormalizedTextChangeCollection =  
    interface 
        interface IList<ITextChange>
        interface ICollection<ITextChange>
        interface IEnumerable<ITextChange>
        interface IEnumerable 
    end
public interface INormalizedTextChangeCollection extends IList<ITextChange>, ICollection<ITextChange>, IEnumerable<ITextChange>, IEnumerable

The INormalizedTextChangeCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection. (Inherited from ICollection<ITextChange>.)
Public property IncludesLineChanges Determines whether any of the ITextChange objects in this list have a nonzero LineCountDelta.
Public property IsReadOnly Gets a value indicating whether the ICollection is read-only. (Inherited from ICollection<ITextChange>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<ITextChange>.)

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection. (Inherited from ICollection<ITextChange>.)
Public method Clear Removes all items from the ICollection. (Inherited from ICollection<ITextChange>.)
Public method Contains Determines whether the ICollection contains a specific value. (Inherited from ICollection<ITextChange>.)
Public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection<ITextChange>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITextChange>.)
Public method IndexOf Determines the index of a specific item in the IList. (Inherited from IList<ITextChange>.)
Public method Insert Inserts an item to the IList at the specified index. (Inherited from IList<ITextChange>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection. (Inherited from ICollection<ITextChange>.)
Public method RemoveAt Removes the IList item at the specified index. (Inherited from IList<ITextChange>.)

Top

Remarks

INormalizedTextChangeCollection objects are immutable.

This collection is used in Changes.

See Also

Reference

Microsoft.VisualStudio.Text Namespace