ManagedSortedSet.InvalidateOrUpdate(Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all elements in the range [start, start + count) from the set, and
updates all elements that are larger than or equal to start + count with lineNr => lineNr + lineNrChange.
public int InvalidateOrUpdate (int start, int count, int lineNrChange);
member this.InvalidateOrUpdate : int * int * int -> int
Public Function InvalidateOrUpdate (start As Integer, count As Integer, lineNrChange As Integer) As Integer
Parameters
- start
- Int32
- count
- Int32
- lineNrChange
- Int32
Returns
The number of removed elements.
Exceptions
start or count are negative, or lineNrChange is smaller than -count.