편집

다음을 통해 공유


NSUserDefaults.StringArrayForKey(String) Method

Definition

The array of strings for the specified key.

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

Parameters

defaultName
String

The key name used to lookup the stored value.

Returns

String[]

String array that was stored with the specific key, or null if the stored value is not present or does not contain an array of strings.

Attributes

Remarks

Applies to