Udostępnij za pośrednictwem


AbstractStringBuilder.ToString Method

Definition

Returns a string representing the data in this sequence.

[Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler", ApiSince=26)]
public abstract string? ToString ();
[<Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler", ApiSince=26)>]
override this.ToString : unit -> string

Returns

a string representation of this sequence of characters.

Implements

Attributes

Remarks

Returns a string representing the data in this sequence. A new String object is allocated and initialized to contain the character sequence currently represented by this object. This String is then returned. Subsequent changes to this sequence do not affect the contents of the String.

Java documentation for java.lang.AbstractStringBuilder.toString().

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