NSUserDefaults.SetFloat(Single, 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.
Sets a float at the specified key.
[Foundation.Export("setFloat:forKey:")]
public virtual void SetFloat (float value, string defaultName);
abstract member SetFloat : single * string -> unit
override this.SetFloat : single * string -> unit
Parameters
- value
- Single
Floating point value to store.
- defaultName
- String
The key name used to store the value.
- Attributes