Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StringBuilder.MaxCapacity Property

Gets the maximum capacity of this instance.

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

public int MaxCapacity { get; }
/** @property */
public int get_MaxCapacity ()

public function get MaxCapacity () : int

Not applicable.

Property Value

The maximum number of characters this instance can hold.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

Show:
© 2014 Microsoft