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.Chars

Gets or sets the character at a specified position.

[Visual Basic]
Public Default Property Chars( _
   ByVal index As Integer _
) As Char
[C#]
public char this[
   int index
] {get; set;}
[C++]
public: __property __wchar_t get_Chars(int index);
public: __property void set_Chars(int index,
   __wchar_t);
[JScript]
returnValue = StringBuilderObject.Chars(index);
StringBuilderObject.Chars(index) = returnValue;

Parameters

index
The position of the character to get or replace.

Property Value

Retrieves or replaces the character at position index within the current StringBuilder. Note that the index of the first character is 0.

Remarks

See String for info about C# syntax issues.

See Also

StringBuilder Class | StringBuilder Members | System.Text Namespace | String