NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StringBuilder.Append (Char[], Int32, Int32)

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;

Parameters

value
the array of characters to be appended.
startIndex
the position in value to start.
charCount
the number of characters to copy from value.

Return Value

A reference to the current StringBuilder with charCount characters from value, beginning at startIndex, appended.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException If charCount or startIndex is less than zero, or startIndex + charCount is less than the length of value.

Remarks

The capacity is adjusted as needed.

See Also

StringBuilder Class | StringBuilder Members | System.Text Namespace | StringBuilder.Append Overload List | Char