HKHealthStore.GetDateOfBirth(NSError) 方法

定义

开发人员不应使用此已弃用的方法。 开发人员应改用“GetDateOfBirthComponents”。

[Foundation.Export("dateOfBirthWithError:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetDateOfBirthComponents' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GetDateOfBirthComponents' instead.")]
public virtual Foundation.NSDate GetDateOfBirth (out Foundation.NSError error);
abstract member GetDateOfBirth :  -> Foundation.NSDate
override this.GetDateOfBirth :  -> Foundation.NSDate

参数

error
NSError

返回

属性

适用于