ManagedSortedSet.InvalidateOrUpdate(Int32, Int32, Int32) Method

Definition

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

Int32

The number of removed elements.

Exceptions

start or count are negative, or lineNrChange is smaller than -count.

Applies to