Edit

Share via


NSUserDefaults.DoubleForKey(String) Method

Definition

The double value for the specified key.

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

Parameters

defaultName
String

The key name used to lookup the stored value.

Returns

The double representation for the value stored, or zero if the key is not present.

Attributes

Applies to