NSCalendar.Components Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Components(NSCalendarUnit, NSDate) | |
Components(NSCalendarUnit, NSDate, NSDate, NSCalendarOptions) | |
Components(NSCalendarUnit, NSDate, NSDate, NSDateComponentsWrappingBehavior) |
Obsoleto.
|
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
Retornos
- Atributos
Aplica-se 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
Retornos
- Atributos
Aplica-se a
Components(NSCalendarUnit, NSDate, NSDate, NSDateComponentsWrappingBehavior)
Cuidado
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
Retornos
- Atributos