NSMutableDictionary.Item[] Property

Definition

Overloads

Name Description
Item[NSString]

Gets or sets the object associated with the specified key.

Item[String]

Gets or sets the object associated with the specified key.

Item[NSObject]

Gets or sets the object associated with the specified key.

Item[NSString]

Gets or sets the object associated with the specified key.

public override Foundation.NSObject this[Foundation.NSString key] { get; set; }
public override Foundation.NSObject? this[Foundation.NSString key] { get; set; }
member this.Item(Foundation.NSString) : Foundation.NSObject with get, set

Parameters

key
NSString

The key of the object to get or set.

Property Value

The object associated with the specified key.

Remarks

Returns null if the key wasn't found.

Applies to

Item[String]

Gets or sets the object associated with the specified key.

public override Foundation.NSObject this[string key] { get; set; }
public override Foundation.NSObject? this[string key] { get; set; }
member this.Item(string) : Foundation.NSObject with get, set

Parameters

key
String

The key of the object to get or set.

Property Value

The object associated with the specified key.

Exceptions

Thrown when key is null.

Remarks

Returns null if the key wasn't found.

Applies to

Item[NSObject]

Gets or sets the object associated with the specified key.

public override Foundation.NSObject this[Foundation.NSObject key] { get; set; }
public override Foundation.NSObject? this[Foundation.NSObject key] { get; set; }
member this.Item(Foundation.NSObject) : Foundation.NSObject with get, set

Parameters

key
NSObject

The key of the object to get or set.

Property Value

The object associated with the specified key.

Implements

Remarks

Returns null if the key wasn't found.

Applies to