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 | |
---|---|---|
Count | Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<ITextChange>.) | |
IncludesLineChanges | Determines whether any of the ITextChange objects in this list have a nonzero LineCountDelta. | |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<ITextChange>.) | |
Item | Gets or sets the element at the specified index. (Inherited from IList<ITextChange>.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection<T>. (Inherited from ICollection<ITextChange>.) | |
Clear | Removes all items from the ICollection<T>. (Inherited from ICollection<ITextChange>.) | |
Contains | Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<ITextChange>.) | |
CopyTo | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<ITextChange>.) | |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<ITextChange>.) | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
IndexOf | Determines the index of a specific item in the IList<T>. (Inherited from IList<ITextChange>.) | |
Insert | Inserts an item to the IList<T> at the specified index. (Inherited from IList<ITextChange>.) | |
Remove | Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<ITextChange>.) | |
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.