Exists

Checks whether there is an entry with a specific key-value pair.

Syntax

bool Exists(string key, string value)

Parameter

Specify the following parameters when using this method:

Parameter Description

key

The key you want to check for.

value

The value you want to check for.

Return value

Returns true if the specified entry exists.