HKHealthStore.GetDateOfBirthComponents(NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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