語言

ContentProviderOperation.Builder.WithExpectedCount(Int32) 方法

定義

若設定為,若受影響的列數不符,則會拋棄此計數 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

預期受操作影響的列數。

傳回

這個建築商,為了方便鏈條。 此值不可能是空值。

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

Java 文件 android.content.ContentProviderOperation.Builder.withExpectedCount(int)

適用於