Edit

Share via


NSCalendar.GetComponentFromDate(NSCalendarUnit, NSDate) Method

Definition

[Foundation.Export("component:fromDate:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint GetComponentFromDate (Foundation.NSCalendarUnit unit, Foundation.NSDate date);
abstract member GetComponentFromDate : Foundation.NSCalendarUnit * Foundation.NSDate -> nint
override this.GetComponentFromDate : Foundation.NSCalendarUnit * Foundation.NSDate -> nint

Parameters

date
NSDate

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to