NSCalendarDate.DateByAddingYears(nint, nint, nint, nint, nint, nint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[Foundation.Export("dateByAddingYears:months:days:hours:minutes:seconds:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSCalendarDate DateByAddingYears(nint year, nint month, nint day, nint hour, nint minute, nint second);
abstract member DateByAddingYears : nint * nint * nint * nint * nint * nint -> Foundation.NSCalendarDate
override this.DateByAddingYears : nint * nint * nint * nint * nint * nint -> Foundation.NSCalendarDate
參數
- year
- System.System.IntPtr System.nativeint
- month
- System.System.IntPtr System.nativeint
- day
- System.System.IntPtr System.nativeint
- hour
- System.System.IntPtr System.nativeint
- minute
- System.System.IntPtr System.nativeint
- second
- System.System.IntPtr System.nativeint
傳回
- 屬性