NSMutableDictionary<TKey,TValue>.ObjectForKey(TKey) Method

Definition

Returns the value associated with the specified key, or null if the key is not present.

public TValue ObjectForKey(TKey key);
public TValue? ObjectForKey(TKey key);
override this.ObjectForKey : 'Key -> 'Value

Parameters

key
TKey

The key to look up.

Returns

TValue

The value associated with the specified key, or null if the key is not present.

Applies to