NSDictionary<TKey,TValue>.KeysForObject(TValue) Method

Definition

Returns an array of keys corresponding to all occurrences of the specified value in the dictionary.

public TKey[] KeysForObject(TValue obj);
override this.KeysForObject : 'Value -> 'Key[]

Parameters

obj
TValue

The value to search for.

Returns

TKey[]

An array of keys whose corresponding values are equal to the specified value.

Applies to