Share via


NSUserDefaults.SetInt(IntPtr, String) Method

Definition

[Foundation.Export("setInteger:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetInt(IntPtr value, string defaultName);
[<Foundation.Export("setInteger:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetInt : nativeint * string -> unit
override this.SetInt : nativeint * string -> unit

Parameters

value
IntPtr

nativeint

defaultName
String
Attributes

Applies to