MessagePattern.GetPartType(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回第 i 模式“part”的 Part.Type。
[Android.Runtime.Register("getPartType", "(I)Landroid/icu/text/MessagePattern$Part$Type;", "", ApiSince=24)]
public Android.Icu.Text.MessagePattern.Part.Type? GetPartType(int i);
[<Android.Runtime.Register("getPartType", "(I)Landroid/icu/text/MessagePattern$Part$Type;", "", ApiSince=24)>]
member this.GetPartType : int -> Android.Icu.Text.MessagePattern.Part.Type
参数
- i
- Int32
部件数据的索引。 (0..countParts()-1)
返回
第 i 部分的 Part.Type。
- 特性
注解
返回第 i 模式“part”的 Part.Type。 getPart(i.getType() 的便利方法。
Android 参考。android.icu.text.MessagePattern.getPartType
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。