Edit

Share via


JsonArray.RemoveRange(Int32, Int32) Method

Definition

Removes a range of elements from the JsonArray.

public:
 void RemoveRange(int index, int count);
public void RemoveRange(int index, int count);
member this.RemoveRange : int * int -> unit
Public Sub RemoveRange (index As Integer, count As Integer)

Parameters

index
Int32

The zero-based starting index of the range of elements to remove.

count
Int32

The number of elements to remove.

Exceptions

index or count is less than 0.

index and count do not denote a valid range of elements in the JsonArray.

Applies to