DictionaryContainer.GetStrongDictionary 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
| GetStrongDictionary<T>(NSString) |
Returns the nullable |
| GetStrongDictionary<T>(NSString, Func<NSDictionary,T>) |
Returns the nullable |
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
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
The stored T if present in the dictionary, null otherwise.