Freigeben über


NSDateComponents.SetValueForComponent(nint, NSCalendarUnit) Methode

Definition

[Foundation.Export("setValue:forComponent:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetValueForComponent (nint value, Foundation.NSCalendarUnit unit);
abstract member SetValueForComponent : nint * Foundation.NSCalendarUnit -> unit
override this.SetValueForComponent : nint * Foundation.NSCalendarUnit -> unit

Parameter

value
System.System.IntPtr System.nativeint
Attribute

Gilt für: