StringBuilder.EnsureCapacity(Int32) StringBuilder.EnsureCapacity(Int32) Method

Definition

Ensures that this object has a minimum capacity available before requiring the internal buffer to be enlarged.

[Android.Runtime.Register("ensureCapacity", "(I)V", "")]
public override void EnsureCapacity (int min);
override this.EnsureCapacity : int -> unit

Parameters

min
Int32 Int32

the new minimum capacity to set.

Remarks

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