Mono Class Library: System.Text.StringBuilder Overview | MembersSystem.Text.StringBuilder.Insert Method |
Inserts multiple copies of a string into the current instance at a specified index. [Edit]
|
The current instance after insertion has occurred. [Edit]
Type Reason ArgumentOutOfRangeException index is greater than the length of the current instance
-or-
index is less than zero
-or-
count is less than zero
[Edit]
This method inserts the value string count times into the current instance at the specified location. Existing characters are shifted to make room for the new text, and StringBuilder.Capacity is adjusted as necessary.
If value is Empty or a null reference, the System.Text.StringBuilder is not changed.
[Edit]
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0