Preferences.ContainsKey Method

Definition

Overloads

ContainsKey(String)

Checks the existence of a given key.

ContainsKey(String, String)

Checks the existence of a given key.

ContainsKey(String)

Checks the existence of a given key.

public static bool ContainsKey (string key);

Parameters

key
String

Preference key.

Returns

Returns true if the key exists.

ContainsKey(String, String)

Checks the existence of a given key.

public static bool ContainsKey (string key, string sharedName);

Parameters

key
String

Preference key.

sharedName
String

Shared container name.

Returns

Returns true if the key exists.

Applies to