Partager via


Long.GetLong Method

Definition

Overloads

GetLong(String)

Determines the long value of the system property with the specified name.

GetLong(String, Long)

Returns the long value of the system property with the specified name.

GetLong(String, Int64)

Determines the long value of the system property with the specified name.

GetLong(String)

Determines the long value of the system property with the specified name.

[Android.Runtime.Register("getLong", "(Ljava/lang/String;)Ljava/lang/Long;", "")]
public static Java.Lang.Long? GetLong (string nm);
[<Android.Runtime.Register("getLong", "(Ljava/lang/String;)Ljava/lang/Long;", "")>]
static member GetLong : string -> Java.Lang.Long

Parameters

nm
String

property name.

Returns

the Long value of the property.

Attributes

Remarks

Java documentation for java.lang.Long.getLong(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetLong(String, Long)

Returns the long value of the system property with the specified name.

[Android.Runtime.Register("getLong", "(Ljava/lang/String;Ljava/lang/Long;)Ljava/lang/Long;", "")]
public static Java.Lang.Long? GetLong (string nm, Java.Lang.Long? val);
[<Android.Runtime.Register("getLong", "(Ljava/lang/String;Ljava/lang/Long;)Ljava/lang/Long;", "")>]
static member GetLong : string * Java.Lang.Long -> Java.Lang.Long

Parameters

nm
String

property name.

val
Long

default value.

Returns

the Long value of the property.

Attributes

Remarks

Java documentation for java.lang.Long.getLong(java.lang.String, java.lang.Long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetLong(String, Int64)

Determines the long value of the system property with the specified name.

[Android.Runtime.Register("getLong", "(Ljava/lang/String;J)Ljava/lang/Long;", "")]
public static Java.Lang.Long? GetLong (string nm, long val);
[<Android.Runtime.Register("getLong", "(Ljava/lang/String;J)Ljava/lang/Long;", "")>]
static member GetLong : string * int64 -> Java.Lang.Long

Parameters

nm
String

property name.

val
Int64

default value.

Returns

the Long value of the property.

Attributes

Remarks

Java documentation for java.lang.Long.getLong(java.lang.String, long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to