Java.Lang.StringBuffer.Insert Method
Inserts the string representation of the specified object into this buffer at the specified offset.

Syntax

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

Parameters

index
the index at which to insert.
obj
the object to insert (may be null).

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.StringIndexOutOfBoundsExceptionif index or index > length().

Remarks

Inserts the string representation of the specified object into this buffer at the specified offset.

If the specified object is null, the string "null" is inserted, otherwise the objects toString method is used to get its string representation.

[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