AbstractPreferences.Clear Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the clear
method as per the specification in
Preferences#clear()
.
[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
public override void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
override this.Clear : unit -> unit
- Attributes
Exceptions
Remarks
Implements the clear
method as per the specification in Preferences#clear()
.
This implementation obtains this preference node's lock, invokes #keys()
to obtain an array of keys, and iterates over the array invoking #remove(String)
on each key.
Java documentation for java.util.prefs.AbstractPreferences.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.