UScript.HasScript(Int32, Int32) 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.
Do the Script_Extensions of code point c contain script sc? If c does not have explicit Script_Extensions, then this tests whether c has the Script property value sc.
[Android.Runtime.Register("hasScript", "(II)Z", "", ApiSince=24)]
public static bool HasScript (int c, int sc);
[<Android.Runtime.Register("hasScript", "(II)Z", "", ApiSince=24)>]
static member HasScript : int * int -> bool
Parameters
- c
- Int32
code point
- sc
- Int32
script code
Returns
true if sc is in Script_Extensions(c)
- Attributes
Remarks
Do the Script_Extensions of code point c contain script sc? If c does not have explicit Script_Extensions, then this tests whether c has the Script property value sc.
Some characters are commonly used in multiple scripts. For more information, see UAX #24: http://www.unicode.org/reports/tr24/.
Java documentation for android.icu.lang.UScript.hasScript(int, 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.