Appends a subarray of unicode characters to the end of the current StringBuilder.
[Visual Basic] Overloads Public Function Append( _ ByVal value() As Char, _ ByVal startIndex As Integer, _ ByVal charCount As Integer _ ) As StringBuilder [C#] public StringBuilder Append( char[] value, int startIndex, int charCount ); [C++] public: StringBuilder* Append( __wchar_t* value[], int startIndex, int charCount ); [JScript] public function Append( value : Char[], startIndex : int, charCount : int ) : StringBuilder;
A reference to the current StringBuilder with charCount characters from value, beginning at startIndex, appended.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | If charCount or startIndex is less than zero, or startIndex + charCount is less than the length of value. |
The capacity is adjusted as needed.
StringBuilder Class | StringBuilder Members | System.Text Namespace | StringBuilder.Append Overload List | Char