Share via


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)

Syntax

'Declaration
Public ReadOnly Property MaxCapacity As Integer
public int MaxCapacity { get; }
public:
property int MaxCapacity {
    int get ();
}
member MaxCapacity : int with get
function get MaxCapacity () : int

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

StringBuilder Class

System.Text Namespace