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

Syntax

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

See Also

String.ValueOf(Object)

Parameters

offset
the index to insert at.
obj
the Object to insert.

Returns

Documentation for this section has not yet been entered.

Exceptions

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

Remarks

Inserts the string representation of the specified Object at the specified offset. The Object value is converted to a String according to the rule defined by String.ValueOf(Object).

[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