Java.Lang.Integer.GetInteger Method
Returns the Integer value of the system property identified by string.

Syntax

[Android.Runtime.Register("getInteger", "(Ljava/lang/String;I)Ljava/lang/Integer;", "")]
public static Integer GetInteger (string string, int defaultValue)

Parameters

string
the name of the requested system property.
defaultValue
the default value that is returned if there is no integer system property with the requested name.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the Integer value of the system property identified by string. Returns the specified default value if string is null or empty, if the property can not be found or if its value can not be parsed as an integer.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1