Bearbeiten

Freigeben über


NSUserDefaults.IntForKey(String) Method

Definition

The int value for the specified key.

[Foundation.Export("integerForKey:")]
public virtual nint IntForKey (string defaultName);
abstract member IntForKey : string -> nint
override this.IntForKey : string -> nint

Parameters

defaultName
String

The key name used to lookup the stored value.

Returns

System.System.IntPtr System.nativeint

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

Attributes

Remarks

Applies to