Character.UnicodeBlock.Of Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Of(Char) |
Gets the Unicode block that contains the specified character. |
| Of(Int32) |
Gets the Unicode block that contains the specified code point. |
Of(Char)
Gets 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
The Unicode block that contains c, or null if it is not in a defined block.
- 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 Unicode block that contains the specified 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
The Unicode block that contains codePoint, or null if it is not in a defined block.
- 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.