Share via


HKAttachmentStore.RemoveAttachmentAsync(HKAttachment, HKObject) Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError?>> RemoveAttachmentAsync(HealthKit.HKAttachment attachment, HealthKit.HKObject object);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemoveAttachmentAsync : HealthKit.HKAttachment * HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.RemoveAttachmentAsync : HealthKit.HKAttachment * HealthKit.HKObject -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

attachment
HKAttachment
object
HKObject

Returns

Attributes

Applies to