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 (String, Int32, Int32)

Appends a copy of the specified characters in a String to the end of the current StringBuilder.

[Visual Basic]
Overloads Public Function Append( _
   ByVal value As String, _
   ByVal startIndex As Integer, _
   ByVal count As Integer _
) As StringBuilder
[C#]
public StringBuilder Append(
   string value,
   int startIndex,
   int count
);
[C++]
public: StringBuilder* Append(
   String* value,
   int startIndex,
   int count
);
[JScript]
public function Append(
   value : String,
   startIndex : int,
   count : int
) : StringBuilder;

Parameters

value
the String to be appended.
startIndex
the position in value to start.
count
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
ArgumentException 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 | String