共用方式為


HKQueryOptions 列舉

定義

列舉可與 方法搭配 GetPredicateForSamples(NSDate, NSDate, HKQueryOptions) 使用的選項。

此列舉支援其成員值的位元組合。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum HKQueryOptions
type HKQueryOptions = 
繼承
HKQueryOptions
屬性

欄位

None 0

此範例必須完全在日期範圍內,包括。

StrictEndDate 2

此範例必須結束于指定的結束時間之前或之前。

StrictStartDate 1

此範例必須在指定的開始日期或之後開始。

適用於