UCharacter.CodePointCount 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CodePointCount(ICharSequence, Int32, Int32) |
等效于 |
| CodePointCount(Char[], Int32, Int32) |
等效于 |
| CodePointCount(String, Int32, Int32) |
等效于 |
CodePointCount(ICharSequence, Int32, Int32)
等效于 Character#codePointCount(CharSequence, int, int) 该方法,为方便起见。
[Android.Runtime.Register("codePointCount", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)]
public static int CodePointCount(Java.Lang.ICharSequence? text, int start, int limit);
[<Android.Runtime.Register("codePointCount", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)>]
static member CodePointCount : Java.Lang.ICharSequence * int * int -> int
参数
- text
- ICharSequence
要检查的字符
- start
- Int32
范围的开始
- limit
- Int32
范围限制
返回
范围中的代码点数
- 特性
注解
等效于 Character#codePointCount(CharSequence, int, int) 该方法,为方便起见。 计算文本范围内的代码点数。
Java文档android.icu.lang.UCharacter.codePointCount(java.lang.CharSequence, int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CodePointCount(Char[], Int32, Int32)
等效于 Character#codePointCount(char[], int, int) 该方法,为方便起见。
[Android.Runtime.Register("codePointCount", "([CII)I", "", ApiSince=24)]
public static int CodePointCount(char[]? text, int start, int limit);
[<Android.Runtime.Register("codePointCount", "([CII)I", "", ApiSince=24)>]
static member CodePointCount : char[] * int * int -> int
参数
- text
- Char[]
要检查的字符
- start
- Int32
范围的开始
- limit
- Int32
范围限制
返回
范围中的代码点数
- 特性
注解
等效于 Character#codePointCount(char[], int, int) 该方法,为方便起见。 计算文本范围内的代码点数。
Java文档android.icu.lang.UCharacter.codePointCount(char[], int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CodePointCount(String, Int32, Int32)
等效于 Character#codePointCount(CharSequence, int, int) 该方法,为方便起见。
public static int CodePointCount(string? text, int start, int limit);
static member CodePointCount : string * int * int -> int
参数
- text
- String
要检查的字符
- start
- Int32
范围的开始
- limit
- Int32
范围限制
返回
范围中的代码点数
注解
等效于 Character#codePointCount(CharSequence, int, int) 该方法,为方便起见。 计算文本范围内的代码点数。
Java文档android.icu.lang.UCharacter.codePointCount(java.lang.CharSequence, int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。