次の方法で共有


PreferenceChangeEvent.Key Property

Definition

Returns the key of the preference that was changed.

public virtual string? Key { [Android.Runtime.Register("getKey", "()Ljava/lang/String;", "GetGetKeyHandler")] get; }
[<get: Android.Runtime.Register("getKey", "()Ljava/lang/String;", "GetGetKeyHandler")>]
member this.Key : string

Property Value

The key of the preference that was changed.

Attributes

Remarks

Returns the key of the preference that was changed.

Java documentation for java.util.prefs.PreferenceChangeEvent.getKey().

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