次の方法で共有


SparseArray.RemoveAtRange(Int32, Int32) Method

Definition

Remove a range of mappings as a batch.

[Android.Runtime.Register("removeAtRange", "(II)V", "GetRemoveAtRange_IIHandler")]
public virtual void RemoveAtRange (int index, int size);
[<Android.Runtime.Register("removeAtRange", "(II)V", "GetRemoveAtRange_IIHandler")>]
abstract member RemoveAtRange : int * int -> unit
override this.RemoveAtRange : int * int -> unit

Parameters

index
Int32

Index to begin at

size
Int32

Number of mappings to remove

        &lt;p&gt;For indices outside of the range <code data-dev-comment-type="c">0...size()-1</code>,
        the behavior is undefined.&lt;/p&gt;
Attributes

Remarks

Remove a range of mappings as a batch.

Java documentation for android.util.SparseArray.removeAtRange(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to