ContentProviderOperation.Builder.WithExpectedCount(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果设置,则如果此操作影响的行数与此计数 OperationApplicationException 不匹配,则将引发。
[Android.Runtime.Register("withExpectedCount", "(I)Landroid/content/ContentProviderOperation$Builder;", "GetWithExpectedCount_IHandler")]
public virtual Android.Content.ContentProviderOperation.Builder WithExpectedCount(int count);
[<Android.Runtime.Register("withExpectedCount", "(I)Landroid/content/ContentProviderOperation$Builder;", "GetWithExpectedCount_IHandler")>]
abstract member WithExpectedCount : int -> Android.Content.ContentProviderOperation.Builder
override this.WithExpectedCount : int -> Android.Content.ContentProviderOperation.Builder
参数
- count
- Int32
操作影响的预期行数。
返回
此生成器,用于链接。 此值不能为 null。
- 特性
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
Java文档android.content.ContentProviderOperation.Builder.withExpectedCount(int)。