NSCalendar.GetComponentFromDate(NSCalendarUnit, NSDate) 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("component:fromDate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetComponentFromDate(Foundation.NSCalendarUnit unit, Foundation.NSDate date);
[<Foundation.Export("component:fromDate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetComponentFromDate : Foundation.NSCalendarUnit * Foundation.NSDate -> nativeint
override this.GetComponentFromDate : Foundation.NSCalendarUnit * Foundation.NSDate -> nativeint
Parameters
- unit
- NSCalendarUnit
- date
- NSDate
Returns
IntPtr
nativeint
- Attributes