次の方法で共有


Vector.RemoveAllElements Method

Definition

Removes all components from this vector and sets its size to zero.

[Android.Runtime.Register("removeAllElements", "()V", "GetRemoveAllElementsHandler")]
public virtual void RemoveAllElements ();
[<Android.Runtime.Register("removeAllElements", "()V", "GetRemoveAllElementsHandler")>]
abstract member RemoveAllElements : unit -> unit
override this.RemoveAllElements : unit -> unit
Attributes

Remarks

Removes all components from this vector and sets its size to zero.

This method is identical in functionality to the #clear method (which is part of the List interface).

Java documentation for java.util.Vector.removeAllElements().

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

See also