次の方法で共有


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
属性

適用対象