System.Text Namespace StringBuilder Class
Appends a copy of a specified substring to the end of this instance.
[ VB ] <Serializable> Overloads Public Function Append ( _ ByVal value As String, _ ByVal startIndex As Integer, _ ByVal count As Integer _ ) As StringBuilder [ C# ] [Serializable] public StringBuilder Append ( string value, int startIndex, int count ); [ C++ ] [Serializable] public: StringBuilder* Append ( String* value, int startIndex, int count ); [ JScript ] public Serializable function Append ( value : String, startIndex : int, count : int ) : StringBuilder;
A reference to this instance after the append operation has occurred.
Exception Type | Condition |
---|---|
ArgumentNullException | value is a null reference ( Nothing in Visual Basic ), and startIndex and count are not zero. |
ArgumentOutOfRangeException | count less than zero.
-or- startIndex less than zero. -or- startIndex + count is less than the length of value. |
This method appends the specified range of characters in value to the current instance. If value is a null reference ( Nothing in Visual Basic ) and startIndex and count are both zero, no changes are made.
The capacity is adjusted as needed.
StringBuilder Members StringBuilder.Append Overload List String
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note