NSDateComponents.SetValueForComponent(nint, NSCalendarUnit) 方法

定义

[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

参数

value
System.System.IntPtr System.nativeint
属性

适用于