共用方式為


HMEventTrigger.CreatePredicateForEvaluatingTriggerOccurringBetweenDates 方法

定義

[Foundation.Export("predicateForEvaluatingTriggerOccurringBetweenDateWithComponents:secondDateWithComponents:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSPredicate CreatePredicateForEvaluatingTriggerOccurringBetweenDates (Foundation.NSDateComponents firstDateComponents, Foundation.NSDateComponents secondDateComponents);
static member CreatePredicateForEvaluatingTriggerOccurringBetweenDates : Foundation.NSDateComponents * Foundation.NSDateComponents -> Foundation.NSPredicate

參數

firstDateComponents
NSDateComponents
secondDateComponents
NSDateComponents

傳回

屬性

適用於