JsonArray.RemoveRange(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 . 中删除一系列元素 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
要移除的元素数。
例外
index 或 count 小于 0。
index 并且 count 不表示中 JsonArray有效元素的范围。