Android Guides | Samples

Java.Lang.String Constructor

Creates a String from the contents of the specified StringBuilder.

Syntax

[Android.Runtime.Register(".ctor", "(Ljava/lang/StringBuilder;)V", "")]
public String (StringBuilder sb)

Parameters

stringBuilder

Exceptions

TypeReason
NullPointerExceptionif stringBuilder == null.

Remarks

Creates a String from the contents of the specified StringBuilder.

[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