Język

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

Returns the Unicode block with the given long property name. The match ignores case, spaces, underscores, and hyphens.

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