Поделиться через


NSCalendar.GetComponentFromDate(NSCalendarUnit, NSDate) Метод

Определение

[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

Параметры

date
NSDate

Возвращаемое значение

System.System.IntPtr System.nativeint
Атрибуты

Применяется к