NSCalendarDate.DateByAddingYears 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("dateByAddingYears:months:days:hours:minutes:seconds:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSCalendarDate DateByAddingYears(IntPtr year, IntPtr month, IntPtr day, IntPtr hour, IntPtr minute, IntPtr second);
[<Foundation.Export("dateByAddingYears:months:days:hours:minutes:seconds:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DateByAddingYears : nativeint * nativeint * nativeint * nativeint * nativeint * nativeint -> Foundation.NSCalendarDate
override this.DateByAddingYears : nativeint * nativeint * nativeint * nativeint * nativeint * nativeint -> Foundation.NSCalendarDate
Parameters
- year
-
IntPtr
nativeint
- month
-
IntPtr
nativeint
- day
-
IntPtr
nativeint
- hour
-
IntPtr
nativeint
- minute
-
IntPtr
nativeint
- second
-
IntPtr
nativeint
Returns
- Attributes