DictionaryContainer.GetNSDictionary Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetNSDictionary(NSString) |
Returns the nullable NSDictionary associated with |
| GetNSDictionary<TKey,TValue>(NSString) |
Returns the nullable NSDictionary<TKey,TValue> associated with |
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.