Bewerken

Delen via


NSDictionary.Item[] Property

Definition

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.

Applies to