Java.Lang.Long.GetLong Method
Returns the Long value of the system property identified by string.

Syntax

[Android.Runtime.Register("getLong", "(Ljava/lang/String;J)Ljava/lang/Long;", "")]
public static Long GetLong (string string, long defaultValue)

Parameters

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

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the Long 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 a long.

[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