JavaSystem.ClearProperty(String) Method

Definition

Removes the system property indicated by the specified key.

[Android.Runtime.Register("clearProperty", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? ClearProperty (string key);
[<Android.Runtime.Register("clearProperty", "(Ljava/lang/String;)Ljava/lang/String;", "")>]
static member ClearProperty : string -> string

Parameters

key
String

the name of the system property to be removed.

Returns

String

the previous string value of the system property, or <code>null</code> if there was no property with that key.

Attributes

Exceptions

if the argument is null.

if the argument is empty.

Remarks

Java documentation for java.lang.System.clearProperty(java.lang.String).

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