NSCalendar.DateByAddingComponents Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
DateByAddingComponents(NSDateComponents, NSDate, NSDateComponentsWrappingBehavior) |
Obsolète.
|
DateByAddingComponents(NSDateComponents, NSDate, NSCalendarOptions) |
DateByAddingComponents(NSDateComponents, NSDate, NSDateComponentsWrappingBehavior)
Attention
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
Paramètres
- comps
- NSDateComponents
- date
- NSDate
Retours
- Attributs
S’applique à
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
Paramètres
- comps
- NSDateComponents
- date
- NSDate
- opts
- NSCalendarOptions
Retours
- Attributs