StringBuilder.Insert Method (Int32, Char)
Inserts the string representation of a specified array of Unicode characters into this instance at the specified character position.
Assembly: mscorlib (in mscorlib.dll)
- Type: System.Int32
The position in this instance where insertion begins.
- Type: System.Char
The character array to insert.
Return ValueType: System.Text.StringBuilder
A reference to this instance after the insert operation has completed.
Existing characters are shifted to make room for the new text. The capacity of this instance is adjusted as needed.
If value is a null reference (Nothing in Visual Basic), the StringBuilder is not changed.
.NET FrameworkSupported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client ProfileSupported in: 4, 3.5 SP1
XNA FrameworkSupported in: 3.0, 2.0, 1.0
Portable Class LibrarySupported in: Portable Class Library
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8