StringBuilder.SetCharAt(Int32, Char) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the character at the index
.
[Android.Runtime.Register("setCharAt", "(IC)V", "")]
public override void SetCharAt (int index, char ch);
[<Android.Runtime.Register("setCharAt", "(IC)V", "")>]
override this.SetCharAt : int * char -> unit
Parameters
- index
- Int32
the zero-based index of the character to replace.
- ch
- Char
the character to set.
- Attributes
Exceptions
if index
is negative or greater than or equal to the
current Length().
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.