Share via


StringBuffer.SetLength(Int32) Method

Definition

Sets the current length to a new value.

[Android.Runtime.Register("setLength", "(I)V", "")]
public override void SetLength (int newLength);
[<Android.Runtime.Register("setLength", "(I)V", "")>]
override this.SetLength : int -> unit

Parameters

newLength
Int32
Attributes

Remarks

Java documentation for java.lang.StringBuffer.setLength(int).

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