Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
GetDirectionality(Char) |
Returns the Unicode directionality property for the given character. |
GetDirectionality(Int32) |
Returns the Unicode directionality property for the given character (Unicode code point). |
Returns the Unicode directionality property for the given character.
[Android.Runtime.Register("getDirectionality", "(C)B", "")]
public static sbyte GetDirectionality(char ch);
[<Android.Runtime.Register("getDirectionality", "(C)B", "")>]
static member GetDirectionality : char -> sbyte
char
for which the directionality property
is requested.
the directionality property of the char
value.
Returns the Unicode directionality property for the given character. Character directionality is used to calculate the visual ordering of text. The directionality value of undefined char
values is DIRECTIONALITY_UNDEFINED
.
<b>Note:</b> This method cannot handle supplementary characters. To support all Unicode characters, including supplementary characters, use the #getDirectionality(int)
method.
Added in 1.4.
Java documentation for java.lang.Character.getDirectionality(char)
.
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.
Returns the Unicode directionality property for the given character (Unicode code point).
[Android.Runtime.Register("getDirectionality", "(I)B", "")]
public static sbyte GetDirectionality(int codePoint);
[<Android.Runtime.Register("getDirectionality", "(I)B", "")>]
static member GetDirectionality : int -> sbyte
the character (Unicode code point) for which the directionality property is requested.
the directionality property of the character.
Returns the Unicode directionality property for the given character (Unicode code point). Character directionality is used to calculate the visual ordering of text. The directionality value of undefined character is #DIRECTIONALITY_UNDEFINED
.
Added in 1.5.
Java documentation for java.lang.Character.getDirectionality(int)
.
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.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in