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)

public interface INormalizedTextChangeCollection : IList<ITextChange>, 
	ICollection<ITextChange>, IEnumerable<ITextChange>, IEnumerable

The INormalizedTextChangeCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements contained in the ICollection<T>. (Inherited from ICollection<ITextChange>.)
Public propertyIncludesLineChangesDetermines whether any of the ITextChange objects in this list have a nonzero LineCountDelta.
Public propertyIsReadOnlyGets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<ITextChange>.)
Public propertyItemGets or sets the element at the specified index. (Inherited from IList<ITextChange>.)
Top

  NameDescription
Public methodAddAdds an item to the ICollection<T>. (Inherited from ICollection<ITextChange>.)
Public methodClearRemoves all items from the ICollection<T>. (Inherited from ICollection<ITextChange>.)
Public methodContainsDetermines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ITextChange>.)
Public methodCopyToCopies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<ITextChange>.)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITextChange>.)
Public methodIndexOfDetermines the index of a specific item in the IList<T>. (Inherited from IList<ITextChange>.)
Public methodInsertInserts an item to the IList<T> at the specified index. (Inherited from IList<ITextChange>.)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ITextChange>.)
Public methodRemoveAtRemoves the IList<T> item at the specified index. (Inherited from IList<ITextChange>.)
Top

INormalizedTextChangeCollection objects are immutable.

This collection is used in Changes.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft