Java.Lang.StringBuffer.GetChars Method
Copies the requested sequence of characters to the char[] passed starting at idx.

Syntax

[Android.Runtime.Register("getChars", "(II[CI)V", "")]
public override void GetChars (int start, int end, char[] buffer, int idx)

Parameters

start
the starting offset of characters to copy.
end
the ending offset of characters to copy.
buffer
the destination character array.
idx
the starting offset in the character array.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif start , end > length(), start > end, index , end - start > buffer.length - index

Remarks

Copies the requested sequence of characters to the char[] passed starting at idx.

[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