NormalizedSnapshotSpanCollection 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对象的只读集合SnapshotSpan,全部来自同一快照。
public ref class NormalizedSnapshotSpanCollection sealed : System::Collections::Generic::ICollection<Microsoft::VisualStudio::Text::SnapshotSpan>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Text::SnapshotSpan>, System::Collections::Generic::IList<Microsoft::VisualStudio::Text::SnapshotSpan>, System::Collections::IListpublic sealed class NormalizedSnapshotSpanCollection : System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Text.SnapshotSpan>, System.Collections.Generic.IList<Microsoft.VisualStudio.Text.SnapshotSpan>, System.Collections.IListtype NormalizedSnapshotSpanCollection = class
    interface IList<SnapshotSpan>
    interface ICollection<SnapshotSpan>
    interface seq<SnapshotSpan>
    interface IEnumerable
    interface IList
    interface ICollectionPublic NotInheritable Class NormalizedSnapshotSpanCollection
Implements ICollection(Of SnapshotSpan), IEnumerable(Of SnapshotSpan), IList, IList(Of SnapshotSpan)- 继承
- 
				NormalizedSnapshotSpanCollection
- 实现
注解
快照范围按起始位置排序,相邻范围和重叠范围组合在一起。
构造函数
字段
| Empty | 对象的只读集合SnapshotSpan,全部来自同一快照。 | 
属性
| Count | 获取集合中的跨度数。 | 
| Item[Int32] | 获取指定位置的快照范围。 资源库会 NotSupportedException引发 。 | 
方法
运算符
显式接口实现
扩展方法
| EmptyIfNull<T>(IEnumerable<T>) | 如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。 |