Android.Content.ISharedPreferences.Contains Method
Checks whether the preferences contains a preference.

Syntax

[Android.Runtime.Register("contains", "(Ljava/lang/String;)Z", "GetContains_Ljava_lang_String_Handler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Contains (string key)

Parameters

key
The name of the preference to check.

Returns

Documentation for this section has not yet been entered.

Remarks

Checks whether the preferences contains a preference.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1