Language

UCharacter.UnicodeBlock.ForName(String) Method

Definition

Alternative to the java.lang.Character.UnicodeBlock.forName(String) method.

[Android.Runtime.Register("forName", "(Ljava/lang/String;)Landroid/icu/lang/UCharacter$UnicodeBlock;", "", ApiSince=24)]
public static Android.Icu.Lang.UCharacter.UnicodeBlock ForName(string blockName);
[<Android.Runtime.Register("forName", "(Ljava/lang/String;)Landroid/icu/lang/UCharacter$UnicodeBlock;", "", ApiSince=24)>]
static member ForName : string -> Android.Icu.Lang.UCharacter.UnicodeBlock

Parameters

blockName
String

the name of the block to match

Returns

the UnicodeBlock with that name

Attributes

Exceptions

if blockName does not identify a Unicode block

Remarks

Alternative to the java.lang.Character.UnicodeBlock.forName(String) method. Returns the Unicode block with the given name. [icu] Note: Unlike java.lang.Character.UnicodeBlock.forName(String), this only matches against the official UCD name and the Java block name (ignoring case).

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

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