HKQuery.GetPredicateForActivitySummariesBetween 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个谓词,该谓词与所提供日期之间发生的活动的活动摘要相匹配。
[Foundation.Export("predicateForActivitySummariesBetweenStartDateComponents:endDateComponents:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 2, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate GetPredicateForActivitySummariesBetween (Foundation.NSDateComponents startDateComponents, Foundation.NSDateComponents endDateComponents);
static member GetPredicateForActivitySummariesBetween : Foundation.NSDateComponents * Foundation.NSDateComponents -> Foundation.NSPredicate
参数
- startDateComponents
- NSDateComponents
- endDateComponents
- NSDateComponents
返回
- 属性