NSUserDefaults.DoubleForKey(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 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