ITextChange 对象的规范化列表。 更改按位置的升序顺序进行排序,并将邻接更改和重叠更改合并为一个更改。
命名空间: Microsoft.VisualStudio.Text
程序集: Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)
语法
声明
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
INormalizedTextChangeCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取 ICollection 中包含的元素数。 (继承自 ICollection<ITextChange>。) |
![]() |
IncludesLineChanges | 确定此列表中的任何 ITextChange 对象是否具有非零 LineCountDelta。 |
![]() |
IsReadOnly | 获取一个值,该值指示 ICollection 是否为只读。 (继承自 ICollection<ITextChange>。) |
![]() |
Item | 获取或设置位于指定索引处的元素。 (继承自 IList<ITextChange>。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Add | 将某项添加到 ICollection 中。 (继承自 ICollection<ITextChange>。) |
![]() |
Clear | 从 ICollection 中移除所有项。 (继承自 ICollection<ITextChange>。) |
![]() |
Contains | 确定 ICollection 是否包含特定值。 (继承自 ICollection<ITextChange>。) |
![]() |
CopyTo | 从特定的 Array 索引开始,将 ICollection 的元素复制到一个 Array 中。 (继承自 ICollection<ITextChange>。) |
![]() |
GetEnumerator | 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<ITextChange>。) |
![]() |
IndexOf | 确定 IList 中特定项的索引。 (继承自 IList<ITextChange>。) |
![]() |
Insert | 将一个项插入指定索引处的 IList。 (继承自 IList<ITextChange>。) |
![]() |
Remove | 从 ICollection 中移除特定对象的第一个匹配项。 (继承自 ICollection<ITextChange>。) |
![]() |
RemoveAt | 移除指定索引处的 IList 项。 (继承自 IList<ITextChange>。) |
页首
备注
INormalizedTextChangeCollection 对象是不可变的。
此集合用于 Changes。