次の方法で共有


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

'宣言
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<T>. (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<T> 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<T>. (Inherited from ICollection<ITextChange>.)
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<ITextChange>.)
Public method Contains Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ITextChange>.)
Public method CopyTo Copies the elements of the ICollection<T> 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 GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method IndexOf Determines the index of a specific item in the IList<T>. (Inherited from IList<ITextChange>.)
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<ITextChange>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ITextChange>.)
Public method RemoveAt Removes the IList<T> 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