編集

次の方法で共有


NSUserDefaults.ArrayForKey(String) Method

Definition

Returns the array for the specified key.

[Foundation.Export("arrayForKey:")]
public virtual Foundation.NSObject[] ArrayForKey (string defaultName);
abstract member ArrayForKey : string -> Foundation.NSObject[]
override this.ArrayForKey : string -> Foundation.NSObject[]

Parameters

defaultName
String

The key name used to lookup the stored value.

Returns

The array that was stored with the specific key, or null if the stored value is not present or is not an array.

Attributes

Remarks

Applies to