Share via


HKAttachmentStore.RemoveAttachment Method

Definition

[Foundation.Export("removeAttachment:fromObject:completion:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RemoveAttachment(HealthKit.HKAttachment attachment, HealthKit.HKObject object, HealthKit.HKAttachmentStoreCompletionHandler completion);
[<Foundation.Export("removeAttachment:fromObject:completion:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemoveAttachment : HealthKit.HKAttachment * HealthKit.HKObject * HealthKit.HKAttachmentStoreCompletionHandler -> unit
override this.RemoveAttachment : HealthKit.HKAttachment * HealthKit.HKObject * HealthKit.HKAttachmentStoreCompletionHandler -> unit

Parameters

attachment
HKAttachment
object
HKObject
Attributes

Applies to