NSDictionary.Item[] Property
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
Item[NSObject] |
Returns the value associated from a key in the dictionary, or null if the key is not found. |
Item[NSString] |
Returns the value associated from a key in the dictionary, or null if the key is not found. |
Item[String] |
Returns the value associated from a key in the dictionary, or null if the key is not found. |
Item[NSObject]
Returns the value associated from a key in the dictionary, or null if the key is not found.
public virtual Foundation.NSObject this[Foundation.NSObject key] { get; set; }
member this.Item(Foundation.NSObject) : Foundation.NSObject with get, set
Parameters
- key
- NSObject
Key to lookup
Property Value
Implements
Applies to
Item[NSString]
Returns the value associated from a key in the dictionary, or null if the key is not found.
public virtual Foundation.NSObject this[Foundation.NSString key] { get; set; }
member this.Item(Foundation.NSString) : Foundation.NSObject with get, set
Parameters
- key
- NSString
Key to lookup
Property Value
Applies to
Item[String]
Returns the value associated from a key in the dictionary, or null if the key is not found.
public virtual Foundation.NSObject this[string key] { get; set; }
member this.Item(string) : Foundation.NSObject with get, set
Parameters
- key
- String
Key to lookup
Property Value
Remarks
The string will be marshalled as an NSString before performing the lookup.