Compartir a través de


NSDateComponents.SetValueForComponent(nint, NSCalendarUnit) Método

Definición

[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

Parámetros

value
System.System.IntPtr System.nativeint
Atributos

Se aplica a