StringBuilder Constructor

Initializes a new instance of the StringBuilder class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method StringBuilder() Initializes a new instance of the StringBuilder class.
Public method StringBuilder(Int32) Initializes a new instance of the StringBuilder class using the specified capacity.
Public method StringBuilder(String) Initializes a new instance of the StringBuilder class using the specified string.
Public method StringBuilder(Int32, Int32) Initializes a new instance of the StringBuilder class that starts with a specified capacity and can grow to a specified maximum.
Public method StringBuilder(String, Int32) Initializes a new instance of the StringBuilder class using the specified string and capacity.
Public method StringBuilder(String, Int32, Int32, Int32) Initializes a new instance of the StringBuilder class from the specified substring and capacity.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft