AbstractStringBuilder.Capacity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current capacity.
[Android.Runtime.Register("capacity", "()I", "GetCapacityHandler")]
public virtual int Capacity ();
[<Android.Runtime.Register("capacity", "()I", "GetCapacityHandler")>]
abstract member Capacity : unit -> int
override this.Capacity : unit -> int
Returns
the current capacity
- Attributes
Remarks
Returns the current capacity. The capacity is the amount of storage available for newly inserted characters, beyond which an allocation will occur.
Java documentation for java.lang.AbstractStringBuilder.capacity()
.
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.