NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StringBuilder Constructor (Int32)

Initializes a new, empty instance of the StringBuilder class, with the specified capacity.

[Visual Basic]
Overloads Public Sub New( _
   ByVal capacity As Integer _
)
[C#]
public StringBuilder(
   int capacity
);
[C++]
public: StringBuilder(
   int capacity
);
[JScript]
public function StringBuilder(
   capacity : int
);

Parameters

capacity
The suggested starting size of the StringBuilder. This size can increase as more characters are added.

Remarks

The new StringBuilder is initialized to represent Empty.

See Also

StringBuilder Class | StringBuilder Members | System.Text Namespace | StringBuilder Constructor Overload List