Sdílet prostřednictvím


ISet.Clear Method

Definition

Removes all of the elements from this set (optional operation).

[Android.Runtime.Register("clear", "()V", "GetClearHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler:Java.Util.ISetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Clear : unit -> unit

Implements

Attributes

Exceptions

when removing from this set is not supported.

Remarks

Removes all of the elements from this set (optional operation). The set will be empty after this call returns.

Java documentation for java.util.Set.clear().

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