MaxCapacity Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the maximum capacity of this instance.

Namespace:  System.Text
Assembly:  mscorlib (in mscorlib.dll)

public int MaxCapacity { get; }

Property Value

Type: System..::..Int32
The maximum number of characters this instance can hold.

The maximum capacity for this implementation is Int32..::..MaxValue. However, this value is implementation-specific and might be different in other or later implementations.