Freigeben über


HKHealthStore.GetDateOfBirthComponents(NSError) Methode

Definition

Versucht, die Datumskomponenten für das Geburtsdatum des Benutzers zurückzugeben, und meldet alle Fehler, die out im Parameter auftreten. 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

Parameter

error
NSError

Gibt zurück

Attribute

Gilt für: