StringBuilder Constructor

StringBuilder Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

  NameDescription
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

Show:
© 2016 Microsoft