StringBuilder.CodePointBefore(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索前面 index为 .. 的 Unicode 代码点值。
[Android.Runtime.Register("codePointBefore", "(I)I", "")]
public override int CodePointBefore(int index);
[<Android.Runtime.Register("codePointBefore", "(I)I", "")>]
override this.CodePointBefore : int -> int
参数
- index
- Int32
此对象中代码单元的 char 索引。
返回
- 属性
例外
如果 index 小于 1 或大于 Length()。
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
另请参阅
- Character
- <xref:Java.Lang.Character.CodePointBefore(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>