Java.Lang.StringBuilder.SetLength Method
Sets the current length to a new value.

Syntax

[Android.Runtime.Register("setLength", "(I)V", "")]
public override void SetLength (int length)

Parameters

length
Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif start is negative, greater than end or if end is greater than the current StringBuilder.Length.

Remarks

Sets the current length to a new value. If the new length is larger than the current length, then the new characters at the end of this object will contain the char value of td>

[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