Edit

Share via


HKHealthStore.GetDateOfBirthComponents(NSError) Method

Definition

Attempts to return the date components for the user's date of birth, and reports any errors that it encounters in the out parameter, error.

[Foundation.Export("dateOfBirthComponentsWithError:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSDateComponents GetDateOfBirthComponents (out Foundation.NSError error);
abstract member GetDateOfBirthComponents :  -> Foundation.NSDateComponents
override this.GetDateOfBirthComponents :  -> Foundation.NSDateComponents

Parameters

error
NSError

Returns

Attributes

Applies to