NSCalendar.DateByAddingComponents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("dateByAddingComponents:toDate:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDate DateByAddingComponents(Foundation.NSDateComponents comps, Foundation.NSDate date, Foundation.NSCalendarOptions opts);
[<Foundation.Export("dateByAddingComponents:toDate:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DateByAddingComponents : Foundation.NSDateComponents * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDate
override this.DateByAddingComponents : Foundation.NSDateComponents * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDate
Parameters
- comps
- NSDateComponents
- date
- NSDate
- opts
- NSCalendarOptions
Returns
- Attributes