NormalizedSpanCollection Class
A collection of spans that are sorted by start position, with adjacent and overlapping spans combined.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
System.Collections.ObjectModel.ReadOnlyCollection<T>
Microsoft.VisualStudio.Text.NormalizedSpanCollection
| Name | Description | |
|---|---|---|
![]() | NormalizedSpanCollection() | Initializes a new instance of NormalizedSpanCollection that is empty. |
![]() | NormalizedSpanCollection(IEnumerable<Span>) | Initializes a new instance of NormalizedSpanCollection that contains the specified list of spans. |
![]() | NormalizedSpanCollection(Span) | Initializes a new instance of NormalizedSpanCollection that contains the specified span. |
| Name | Description | |
|---|---|---|
![]() | Count | (Inherited from ReadOnlyCollection<T>.) |
![]() | Item[Int32] | (Inherited from ReadOnlyCollection<T>.) |
![]() | Items | (Inherited from ReadOnlyCollection<T>.) |
| Name | Description | |
|---|---|---|
![]() | Contains(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() | CopyTo(T[], Int32) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | Difference(NormalizedSpanCollection, NormalizedSpanCollection) | Finds the difference between two sets. The difference is defined as everything in the first span set that is not in the second span set. |
![]() | Equals(Object) | Determines whether this span set is the same as another object.(Overrides Object.Equals(Object).) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | (Inherited from ReadOnlyCollection<T>.) |
![]() | GetHashCode() | Gets a unique hash code for the span set.(Overrides Object.GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | Intersection(NormalizedSpanCollection, NormalizedSpanCollection) | Finds the intersection of two span sets. |
![]() | IntersectsWith(NormalizedSpanCollection) | Determines whether this span set intersects with another span set. |
![]() | IntersectsWith(Span) | |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() ![]() | Overlap(NormalizedSpanCollection, NormalizedSpanCollection) | Finds the overlap of two span sets. |
![]() | OverlapsWith(NormalizedSpanCollection) | Determines whether this span set overlaps with another span set. |
![]() | OverlapsWith(Span) | |
![]() | ToString() | Provides a string representation of the set.(Overrides Object.ToString().) |
![]() ![]() | Union(NormalizedSpanCollection, NormalizedSpanCollection) | Finds the union of two span sets. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(NormalizedSpanCollection, NormalizedSpanCollection) | Determines whether two span sets are the same. |
![]() ![]() | Inequality(NormalizedSpanCollection, NormalizedSpanCollection) | Determines whether two span sets are not the same. |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection<T>.Add(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | ICollection<T>.Clear() | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | ICollection<T>.Remove(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList<T>.Insert(Int32, T) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList<T>.RemoveAt(Int32) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | ICollection.CopyTo(Array, Int32) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IEnumerable.GetEnumerator() | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Add(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Clear() | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Contains(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.IndexOf(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Insert(Int32, Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.Remove(Object) | (Inherited from ReadOnlyCollection<T>.) |
![]() ![]() | IList.RemoveAt(Int32) | (Inherited from ReadOnlyCollection<T>.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.








