Język

UCharacter.UnicodeBlock.GetInstance(Int32) Method

Definition

[icu] Returns the only instance of the UnicodeBlock with the argument ID.

[Android.Runtime.Register("getInstance", "(I)Landroid/icu/lang/UCharacter$UnicodeBlock;", "", ApiSince=24)]
public static Android.Icu.Lang.UCharacter.UnicodeBlock GetInstance(int id);
[<Android.Runtime.Register("getInstance", "(I)Landroid/icu/lang/UCharacter$UnicodeBlock;", "", ApiSince=24)>]
static member GetInstance : int -> Android.Icu.Lang.UCharacter.UnicodeBlock

Parameters

id
Int32

UnicodeBlock ID

Returns

the only instance of the UnicodeBlock with the argument ID if it exists, otherwise an INVALID_CODE UnicodeBlock will be returned.

Attributes

Remarks

[icu] Returns the only instance of the UnicodeBlock with the argument ID. If no such ID exists, an INVALID_CODE UnicodeBlock will be returned.

Android reference for android.icu.lang.UCharacter.UnicodeBlock.getInstance.

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