HKHealthStore.DeleteObject(HKObject, Action<Boolean,NSError>) 方法

定义

从存储中删除 和 对象,并在删除后运行操作。

[Foundation.Export("deleteObject:withCompletion:")]
public virtual void DeleteObject (HealthKit.HKObject obj, Action<bool,Foundation.NSError> completion);
abstract member DeleteObject : HealthKit.HKObject * Action<bool, Foundation.NSError> -> unit
override this.DeleteObject : HealthKit.HKObject * Action<bool, Foundation.NSError> -> unit

参数

obj
HKObject
completion
Action<Boolean,NSError>

操作完成时要运行的处理程序。

属性

适用于