JsonArray.RemoveRange(Int32, Int32) 方法

定义

从 . 中删除一系列元素 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)

参数

index
Int32

要移除的元素范围的从零开始的索引。

count
Int32

要移除的元素数。

例外

indexcount 小于 0。

index 并且 count 不表示中 JsonArray有效元素的范围。

适用于