NSCalendar.DateByAddingComponents 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DateByAddingComponents(NSDateComponents, NSDate, NSDateComponentsWrappingBehavior) |
已过时.
|
DateByAddingComponents(NSDateComponents, NSDate, NSCalendarOptions) |
DateByAddingComponents(NSDateComponents, NSDate, NSDateComponentsWrappingBehavior)
注意
Use the overload with a 'NSCalendarOptions' parameter.
[System.Obsolete("Use the overload with a 'NSCalendarOptions' parameter.", false)]
public Foundation.NSDate DateByAddingComponents (Foundation.NSDateComponents comps, Foundation.NSDate date, Foundation.NSDateComponentsWrappingBehavior opts);
member this.DateByAddingComponents : Foundation.NSDateComponents * Foundation.NSDate * Foundation.NSDateComponentsWrappingBehavior -> Foundation.NSDate
参数
- comps
- NSDateComponents
- date
- NSDate
返回
- 属性
适用于
DateByAddingComponents(NSDateComponents, NSDate, NSCalendarOptions)
[Foundation.Export("dateByAddingComponents:toDate:options:")]
public virtual Foundation.NSDate DateByAddingComponents (Foundation.NSDateComponents comps, Foundation.NSDate date, Foundation.NSCalendarOptions opts);
abstract member DateByAddingComponents : Foundation.NSDateComponents * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDate
override this.DateByAddingComponents : Foundation.NSDateComponents * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDate
参数
- comps
- NSDateComponents
- date
- NSDate
- opts
- NSCalendarOptions
返回
- 属性