Compartilhar via


HKQuery.SampleType Propriedade

Definição

Os desenvolvedores não devem usar essa propriedade preterida. Os desenvolvedores devem usar a propriedade 'ObjectType'.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual HealthKit.HKSampleType SampleType { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.None, "Use 'ObjectType' property.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("sampleType", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.SampleType : HealthKit.HKSampleType

Valor da propriedade

(Mais documentação para este nó está chegando)

Este valor pode ser null.

Atributos

Aplica-se a