NSCalendar.Range 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Range(NSCalendarUnit, NSDate, Double, NSDate) | |
Range(NSCalendarUnit, NSCalendarUnit, NSDate) |
Range(NSCalendarUnit, NSDate, Double, NSDate)
[Foundation.Export("rangeOfUnit:startDate:interval:forDate:")]
public virtual bool Range (Foundation.NSCalendarUnit unit, out Foundation.NSDate datep, out double interval, Foundation.NSDate date);
abstract member Range : Foundation.NSCalendarUnit * * * Foundation.NSDate -> bool
override this.Range : Foundation.NSCalendarUnit * * * Foundation.NSDate -> bool
参数
- unit
- NSCalendarUnit
- interval
- Double
- date
- NSDate
返回
- 属性
适用于
Range(NSCalendarUnit, NSCalendarUnit, NSDate)
[Foundation.Export("rangeOfUnit:inUnit:forDate:")]
public virtual Foundation.NSRange Range (Foundation.NSCalendarUnit smaller, Foundation.NSCalendarUnit larger, Foundation.NSDate date);
abstract member Range : Foundation.NSCalendarUnit * Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSRange
override this.Range : Foundation.NSCalendarUnit * Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSRange
参数
- smaller
- NSCalendarUnit
- larger
- NSCalendarUnit
- date
- NSDate
返回
- 属性