Condividi tramite


StringBuilder.CodePointBefore(Int32) Method

Definition

Retrieves the Unicode code point value that precedes the index.

[Android.Runtime.Register("codePointBefore", "(I)I", "")]
public override int CodePointBefore (int index);
[<Android.Runtime.Register("codePointBefore", "(I)I", "")>]
override this.CodePointBefore : int -> int

Parameters

index
Int32

the index to the char code unit within this object.

Returns

Attributes

Exceptions

if index is less than 1 or greater than 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.

Applies to

See also

  • Character
  • <xref:Java.Lang.Character.CodePointBefore(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>