NSUserDefaults.StringArrayForKey(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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