Share via


DictionaryContainer.GetNSDictionary Method

Definition

Overloads

Name Description
GetNSDictionary(NSString)

Returns the nullable NSDictionary associated with key.

GetNSDictionary<TKey,TValue>(NSString)

Returns the nullable NSDictionary<TKey,TValue> associated with key.

GetNSDictionary(NSString)

Returns the nullable NSDictionary associated with key.

protected Foundation.NSDictionary? GetNSDictionary(Foundation.NSString key);
member this.GetNSDictionary : Foundation.NSString -> Foundation.NSDictionary

Parameters

key
NSString

The identifier of the value to get.

Returns

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

Applies to

GetNSDictionary<TKey,TValue>(NSString)

Returns the nullable NSDictionary<TKey,TValue> associated with key.

protected Foundation.NSDictionary<TKey,TValue>? GetNSDictionary<TKey,TValue>(Foundation.NSString key) where TKey : class, ObjCRuntime.INativeObject where TValue : class, ObjCRuntime.INativeObject;
member this.GetNSDictionary : Foundation.NSString -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)> (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)

Type Parameters

TKey

The type of keys in the stored dictionary.

TValue

The type of values in the stored dictionary.

Parameters

key
NSString

The identifier of the value to get.

Returns

The stored NSDictionary<TKey,TValue> if present in the dictionary, null otherwise.

Applies to