共用方式為


ContentProviderOperation.Builder.WithExpectedCount(Int32) Method

Definition

If set then if the number of rows affected by this operation do not match this count OperationApplicationException will be throw.

[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

Parameters

count
Int32

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to