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.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
- unit
- NSCalendarUnit
- date
- NSDate
Returns
System.System.IntPtr
System.nativeint
- Attributes