Android.Content.ContentProviderOperation.Apply Method
Applies this operation using the given provider.

Syntax

[Android.Runtime.Register("apply", "(Landroid/content/ContentProvider;[Landroid/content/ContentProviderResult;I)Landroid/content/ContentProviderResult;", "GetApply_Landroid_content_ContentProvider_arrayLandroid_content_ContentProviderResult_IHandler")]
public virtual ContentProviderResult Apply (ContentProvider provider, ContentProviderResult[] backRefs, int numBackRefs)

Parameters

provider
the Android.Content.ContentProvider on which this batch is applied
backRefs
a Android.Content.ContentProviderResult array that will be consulted to resolve any requested back references.
numBackRefs
the number of valid results on the backRefs array.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.Content.OperationApplicationExceptionthrown if either the insert fails or if the number of rows affected didn't match the expected count

Remarks

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5