Preference.HasKey Property
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.
Checks whether this Preference has a valid key.
public virtual bool HasKey { [Android.Runtime.Register("hasKey", "()Z", "GetHasKeyHandler")] get; }
[<get: Android.Runtime.Register("hasKey", "()Z", "GetHasKeyHandler")>]
member this.HasKey : bool
Property Value
True if the key exists and is not a blank string, false otherwise.
- Attributes
Remarks
Checks whether this Preference has a valid key.
Java documentation for android.preference.Preference.hasKey()
.
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.