StringBuilder.Insert Method

Include Protected Members
Include Inherited Members

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

Inserts the string representation of a specified object into this instance at a specified character position.

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

Overload List

  Name Description
Insert(Int32, Boolean) Inserts the string representation of a Boolean value into this instance at the specified character position.
Insert(Int32, Byte) Inserts the string representation of a specified 8-bit unsigned integer into this instance at the specified character position.
Insert(Int32, Char) Inserts the string representation of a specified Unicode character into this instance at the specified character position.
Insert(Int32, array<Char>[]()[]) Inserts the string representation of a specified array of Unicode characters into this instance at the specified character position.
Insert(Int32, Decimal) Inserts the string representation of a decimal number into this instance at the specified character position.
Insert(Int32, Double) Inserts the string representation of a double-precision floating-point number into this instance at the specified character position.
Insert(Int32, Int16) Inserts the string representation of a specified 16-bit signed integer into this instance at the specified character position.
Insert(Int32, Int32) Inserts the string representation of a specified 32-bit signed integer into this instance at the specified character position.
Insert(Int32, Int64) Inserts the string representation of a 64-bit signed integer into this instance at the specified character position.
Insert(Int32, Object) Inserts the string representation of an object into this instance at the specified character position.
Insert(Int32, SByte) Inserts the string representation of a specified 8-bit signed integer into this instance at the specified character position.
Insert(Int32, Single) Inserts the string representation of a single-precision floating point number into this instance at the specified character position.
Insert(Int32, String) Inserts a string into this instance at the specified character position.
Insert(Int32, UInt16) Inserts the string representation of a 16-bit unsigned integer into this instance at the specified character position.
Insert(Int32, UInt32) Inserts the string representation of a 32-bit unsigned integer into this instance at the specified character position.
Insert(Int32, UInt64) Inserts the string representation of a 64-bit unsigned integer into this instance at the specified character position.
Insert(Int32, String, Int32) Inserts one or more copies of a specified string into this instance at the specified character position.
Insert(Int32, array<Char>[]()[], Int32, Int32) Inserts the string representation of a specified subarray of Unicode characters into this instance at the specified character position.

Top

See Also

Reference

StringBuilder Class

StringBuilder Members

System.Text Namespace