Afficher en anglais

Partage via


SparseArray.RemoveAtRange(Int32, Int32) Method

Definition

Remove a range of mappings as a batch.

C#
[Android.Runtime.Register("removeAtRange", "(II)V", "GetRemoveAtRange_IIHandler")]
public virtual void RemoveAtRange (int index, int size);

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

Produit Versions
.NET for Android .NET for Android API 34, .NET for Android API 35