ContentProviderOperation.Builder.WithSelectionBackReference 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| WithSelectionBackReference(Int32, Int32) |
添加后退引用作为选择参数。 |
| WithSelectionBackReference(Int32, Int32, String) |
使用上一操作的结果配置要动态覆盖的给定选择参数。 此方法将替换此索引上以前定义的任何选择参数。 |
WithSelectionBackReference(Int32, Int32)
添加后退引用作为选择参数。
[Android.Runtime.Register("withSelectionBackReference", "(II)Landroid/content/ContentProviderOperation$Builder;", "GetWithSelectionBackReference_IIHandler")]
public virtual Android.Content.ContentProviderOperation.Builder WithSelectionBackReference(int index, int fromIndex);
[<Android.Runtime.Register("withSelectionBackReference", "(II)Landroid/content/ContentProviderOperation$Builder;", "GetWithSelectionBackReference_IIHandler")>]
abstract member WithSelectionBackReference : int * int -> Android.Content.ContentProviderOperation.Builder
override this.WithSelectionBackReference : int * int -> Android.Content.ContentProviderOperation.Builder
参数
- index
- Int32
指示要配置的选择参数的索引
- fromIndex
- Int32
指示哪个历史 ContentProviderResult 应覆盖选择参数的索引
返回
此值不能为 null。
- 特性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
Java文档android.content.ContentProviderOperation.Builder.withSelectionBackReference(int, int)。
适用于
WithSelectionBackReference(Int32, Int32, String)
使用上一操作的结果配置要动态覆盖的给定选择参数。 此方法将替换此索引上以前定义的任何选择参数。
[Android.Runtime.Register("withSelectionBackReference", "(IILjava/lang/String;)Landroid/content/ContentProviderOperation$Builder;", "GetWithSelectionBackReference_IILjava_lang_String_Handler", ApiSince=30)]
public virtual Android.Content.ContentProviderOperation.Builder WithSelectionBackReference(int index, int fromIndex, string fromKey);
[<Android.Runtime.Register("withSelectionBackReference", "(IILjava/lang/String;)Landroid/content/ContentProviderOperation$Builder;", "GetWithSelectionBackReference_IILjava_lang_String_Handler", ApiSince=30)>]
abstract member WithSelectionBackReference : int * int * string -> Android.Content.ContentProviderOperation.Builder
override this.WithSelectionBackReference : int * int * string -> Android.Content.ContentProviderOperation.Builder
参数
- index
- Int32
指示要配置的选择参数的索引
- fromIndex
- Int32
指示哪个历史 ContentProviderResult 应覆盖选择参数的索引
- fromKey
- String
指示哪个 ContentProviderResult.extras 值应覆盖选择参数的键。 此值不能为 null。
返回
此值不能为 null。
- 特性
注解
使用上一操作的结果配置要动态覆盖的给定选择参数。 此方法将替换此索引上以前定义的任何选择参数。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。