편집

다음을 통해 공유


NSUserDefaults.DictionaryForKey(String) Method

Definition

The NSDictionary for the specified key.

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

Parameters

defaultName
String

The key name used to lookup the stored value.

Returns

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

Attributes

Applies to