次の方法で共有


AbstractPreferences.RemoveSpi(String) Method

Definition

Remove the association (if any) for the specified key at this preference node.

[Android.Runtime.Register("removeSpi", "(Ljava/lang/String;)V", "GetRemoveSpi_Ljava_lang_String_Handler")]
protected abstract void RemoveSpi (string? key);
[<Android.Runtime.Register("removeSpi", "(Ljava/lang/String;)V", "GetRemoveSpi_Ljava_lang_String_Handler")>]
abstract member RemoveSpi : string -> unit

Parameters

key
String

the key

Attributes

Remarks

Remove the association (if any) for the specified key at this preference node. It is guaranteed that key is non-null. Also, it is guaranteed that this node has not been removed. (The implementor needn't check for either of these things.)

This method is invoked with the lock on this node held.

Java documentation for java.util.prefs.AbstractPreferences.removeSpi(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