Compartilhar via


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 minimumCapacity);
[<Android.Runtime.Register("ensureCapacity", "(I)V", "")>]
override this.EnsureCapacity : int -> unit

Parameters

minimumCapacity
Int32
Attributes

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