Android Guides | Samples

Java.Lang.String.ValueOf Method

Converts the specified object to its string representation.

Syntax

[Android.Runtime.Register("valueOf", "(Ljava/lang/Object;)Ljava/lang/String;", "")]
public static String ValueOf (Object value)

Parameters

value
the object.

Remarks

Converts the specified object to its string representation. If the object is null return the string "null", otherwise use toString() to get the string representation.

[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