Android Guides | Samples

Java.Lang.String.ValueOf Method

Converts the specified boolean to its string representation.

Syntax

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

Parameters

value
the boolean.

Remarks

Converts the specified boolean to its string representation. When the boolean is true return "true", otherwise return "false".

[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