共用方式為


Character.UnicodeBlock.Of Method

Definition

Overloads

Of(Char)

Gets the constant for the Unicode block that contains the specified character.

Of(Int32)

Gets the constant for the Unicode block that contains the specified Unicode code point.

Of(Char)

Gets the constant for the Unicode block that contains the specified character.

[Android.Runtime.Register("of", "(C)Ljava/lang/Character$UnicodeBlock;", "")]
public static Java.Lang.Character.UnicodeBlock Of (char c);
[<Android.Runtime.Register("of", "(C)Ljava/lang/Character$UnicodeBlock;", "")>]
static member Of : char -> Java.Lang.Character.UnicodeBlock

Parameters

c
Char

the character for which to get the UnicodeBlock constant.

Returns

Attributes

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

Of(Int32)

Gets the constant for the Unicode block that contains the specified Unicode code point.

[Android.Runtime.Register("of", "(I)Ljava/lang/Character$UnicodeBlock;", "")]
public static Java.Lang.Character.UnicodeBlock Of (int codePoint);
[<Android.Runtime.Register("of", "(I)Ljava/lang/Character$UnicodeBlock;", "")>]
static member Of : int -> Java.Lang.Character.UnicodeBlock

Parameters

codePoint
Int32

the Unicode code point for which to get the UnicodeBlock constant.

Returns

Attributes

Exceptions

if codePoint is not a valid code point.

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