Java.Lang.StringBuffer.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.

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 nd the current length. Note, this method is NOT guaranteed to change the capacity of this object.

[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