语言

ContentProviderOperation.Builder.WithExtras(Bundle) 方法

定义

配置用于此操作的额外项。 此方法将替换以前为包含的键定义的任何值,但不会替换任何反向引用请求。 通过使用 withExtraBackReference(String,int) 等方法,可以使用上一操作的结果动态覆盖任何值。

[Android.Runtime.Register("withExtras", "(Landroid/os/Bundle;)Landroid/content/ContentProviderOperation$Builder;", "GetWithExtras_Landroid_os_Bundle_Handler", ApiSince=30)]
public virtual Android.Content.ContentProviderOperation.Builder WithExtras(Android.OS.Bundle extras);
[<Android.Runtime.Register("withExtras", "(Landroid/os/Bundle;)Landroid/content/ContentProviderOperation$Builder;", "GetWithExtras_Landroid_os_Bundle_Handler", ApiSince=30)>]
abstract member WithExtras : Android.OS.Bundle -> Android.Content.ContentProviderOperation.Builder
override this.WithExtras : Android.OS.Bundle -> Android.Content.ContentProviderOperation.Builder

参数

extras
Bundle

此值不能为 null。

返回

此值不能为 null。

特性

注解

配置用于此操作的额外项。 此方法将替换以前为包含的键定义的任何值,但不会替换任何反向引用请求。 通过使用 withExtraBackReference(String,int) 等方法,可以使用上一操作的结果动态覆盖任何值。

Java文档android.content.ContentProviderOperation.Builder.withExtras(android.os.Bundle)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于