Share via


DictionaryContainer.GetStrongDictionary Method

Definition

Overloads

GetStrongDictionary<T>(NSString)

Returns the nullable T associated with key.

GetStrongDictionary<T>(NSString, Func<NSDictionary,T>)

Returns the nullable T associated with key.

GetStrongDictionary<T>(NSString)

Returns the nullable T associated with key.

protected T? GetStrongDictionary<T>(Foundation.NSString key) where T : Foundation.DictionaryContainer;
member this.GetStrongDictionary : Foundation.NSString -> 'T (requires 'T :> Foundation.DictionaryContainer)

Type Parameters

T

Parameters

key
NSString

The identifier of the value to get.

Returns

T

The stored T if present in the dictionary, null otherwise.

Applies to

GetStrongDictionary<T>(NSString, Func<NSDictionary,T>)

Returns the nullable T associated with key.

protected T? GetStrongDictionary<T>(Foundation.NSString key, Func<Foundation.NSDictionary,T?> createStrongDictionary) where T : Foundation.DictionaryContainer;
member this.GetStrongDictionary : Foundation.NSString * Func<Foundation.NSDictionary, 'T (requires 'T :> Foundation.DictionaryContainer)> -> 'T (requires 'T :> Foundation.DictionaryContainer)

Type Parameters

T

Parameters

key
NSString

The identifier of the value to get.

createStrongDictionary
Func<NSDictionary,T>

A callback to convert between an NSDictionary and T.

Returns

T

The stored T if present in the dictionary, null otherwise.

Applies to