Share via


NSSegmentedControl.SetTag(nint, nint) 方法

定义

[Foundation.Export("setTag:forSegment:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetTag (nint tag, nint segment);
abstract member SetTag : nint * nint -> unit
override this.SetTag : nint * nint -> unit

参数

tag
System.System.IntPtr System.nativeint
segment
System.System.IntPtr System.nativeint
属性

适用于