WordSegmentFinder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| WordSegmentFinder(ICharSequence, ULocale) |
构造指定文本的 WordSegmentFinder 实例,该实例使用提供的区域设置来确定单词边界。 |
| WordSegmentFinder(IntPtr, JniHandleOwnership) |
创建表示现有Java对象的托管实例。 |
| WordSegmentFinder(String, ULocale) |
构造指定文本的 WordSegmentFinder 实例,该实例使用提供的区域设置来确定单词边界。 |
WordSegmentFinder(ICharSequence, ULocale)
构造指定文本的 WordSegmentFinder 实例,该实例使用提供的区域设置来确定单词边界。
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)]
public WordSegmentFinder(Java.Lang.ICharSequence text, Android.Icu.Util.ULocale locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)>]
new Android.Text.WordSegmentFinder : Java.Lang.ICharSequence * Android.Icu.Util.ULocale -> Android.Text.WordSegmentFinder
参数
- text
- ICharSequence
要分段的文本
- locale
- ULocale
用于分析文本的区域设置
- 特性
注解
构造指定文本的 WordSegmentFinder 实例,该实例使用提供的区域设置来确定单词边界。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
WordSegmentFinder(IntPtr, JniHandleOwnership)
创建表示现有Java对象的托管实例。
protected WordSegmentFinder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.WordSegmentFinder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.WordSegmentFinder
参数
- javaReference
-
IntPtr
nativeint
对Java对象的 JNI 引用。
- transfer
- JniHandleOwnership
指定 JNI 引用的所有权是否传输到此实例。
注解
运行时调用此构造函数来创建现有Java对象的托管表示形式。
适用于
WordSegmentFinder(String, ULocale)
构造指定文本的 WordSegmentFinder 实例,该实例使用提供的区域设置来确定单词边界。
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)]
public WordSegmentFinder(string text, Android.Icu.Util.ULocale locale);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/icu/util/ULocale;)V", "", ApiSince=34)>]
new Android.Text.WordSegmentFinder : string * Android.Icu.Util.ULocale -> Android.Text.WordSegmentFinder
参数
- text
- String
要分段的文本。 此值不能为 null。
- locale
- ULocale
用于分析文本的区域设置。 此值不能为 null。
- 特性
注解
构造指定文本的 WordSegmentFinder 实例,该实例使用提供的区域设置来确定单词边界。
Android 参考。android.text.WordSegmentFinder.WordSegmentFinder
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。