NSCalendar.Components Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Components(NSCalendarUnit, NSDate) | |
Components(NSCalendarUnit, NSDate, NSDate, NSCalendarOptions) | |
Components(NSCalendarUnit, NSDate, NSDate, NSDateComponentsWrappingBehavior) |
Obsoletos.
|
Components(NSCalendarUnit, NSDate)
[Foundation.Export("components:fromDate:")]
public virtual Foundation.NSDateComponents Components (Foundation.NSCalendarUnit unitFlags, Foundation.NSDate fromDate);
abstract member Components : Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSDateComponents
override this.Components : Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSDateComponents
Parámetros
- unitFlags
- NSCalendarUnit
- fromDate
- NSDate
Devoluciones
- Atributos
Se aplica a
Components(NSCalendarUnit, NSDate, NSDate, NSCalendarOptions)
[Foundation.Export("components:fromDate:toDate:options:")]
public virtual Foundation.NSDateComponents Components (Foundation.NSCalendarUnit unitFlags, Foundation.NSDate fromDate, Foundation.NSDate toDate, Foundation.NSCalendarOptions opts);
abstract member Components : Foundation.NSCalendarUnit * Foundation.NSDate * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDateComponents
override this.Components : Foundation.NSCalendarUnit * Foundation.NSDate * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDateComponents
Parámetros
- unitFlags
- NSCalendarUnit
- fromDate
- NSDate
- toDate
- NSDate
- opts
- NSCalendarOptions
Devoluciones
- Atributos
Se aplica a
Components(NSCalendarUnit, NSDate, NSDate, NSDateComponentsWrappingBehavior)
Precaución
Use the overload with a 'NSCalendarOptions' parameter.
[System.Obsolete("Use the overload with a 'NSCalendarOptions' parameter.", false)]
public Foundation.NSDateComponents Components (Foundation.NSCalendarUnit unitFlags, Foundation.NSDate fromDate, Foundation.NSDate toDate, Foundation.NSDateComponentsWrappingBehavior opts);
member this.Components : Foundation.NSCalendarUnit * Foundation.NSDate * Foundation.NSDate * Foundation.NSDateComponentsWrappingBehavior -> Foundation.NSDateComponents
Parámetros
- unitFlags
- NSCalendarUnit
- fromDate
- NSDate
- toDate
- NSDate
Devoluciones
- Atributos