Java.Lang.StringBuilder.Insert Method
Inserts the string representation of the specified CharSequence at the specified offset.

Syntax

[Android.Runtime.Register("insert", "(ILjava/lang/CharSequence;)Ljava/lang/StringBuilder;", "")]
public StringBuilder Insert (int offset, ICharSequence s)

See Also

ICharSequence.ToString

Parameters

offset
the index to insert at.
s
the CharSequence to insert.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif offset is negative or greater than the current length().

Remarks

Inserts the string representation of the specified CharSequence at the specified offset. The CharSequence is converted to a String as defined by ICharSequence.ToString. If s is null, then the String "null" is inserted.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1