Edit

Share via


NSUserDefaults.Item[String] Property

Definition

Indexer, returns the NSObject associated with the given key.

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

Parameters

key
String

The key name used to lookup the stored value.

Property Value

The NSObject that was stored with the specific key, or nullif the stored value is not present.

Remarks

Applies to