次の方法で共有


NSCalendar.DateByAddingComponents メソッド

定義

オーバーロード

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

パラメーター

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

パラメーター

date
NSDate

戻り値

属性

適用対象