NSUserDefaults.FloatForKey(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 float value for the specified key.
[Foundation.Export("floatForKey:")]
public virtual float FloatForKey (string defaultName);
abstract member FloatForKey : string -> single
override this.FloatForKey : string -> single
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