Share via


CKDatabase.DeleteRecordAsync(CKRecordID) Method

Definition

Deletes the record with the recordId.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CloudKit.CKRecordID> DeleteRecordAsync(CloudKit.CKRecordID recordId);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DeleteRecordAsync : CloudKit.CKRecordID -> System.Threading.Tasks.Task<CloudKit.CKRecordID>
override this.DeleteRecordAsync : CloudKit.CKRecordID -> System.Threading.Tasks.Task<CloudKit.CKRecordID>

Parameters

recordId
CKRecordID

Returns

A task that represents the asynchronous DeleteRecord operation. The value of the TResult parameter is of type System.Action<CloudKit.CKRecordID,Foundation.NSError>.

Attributes

Applies to