NormalizedSpanCollection Constructor (IEnumerable<Span>^)
Visual Studio 2015
Initializes a new instance of NormalizedSpanCollection that contains the specified list of spans.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | spans is null. |
The list of spans is sorted and normalized. (Overlapping and adjoining spans will be combined.) This constructor runs in O(N log N) time, where N = spans.Count.
Show: