共用方式為


NSSegmentedControl.SetSelected(Boolean, nint) 方法

定義

[Foundation.Export("setSelected:forSegment:")]
public virtual void SetSelected (bool selected, nint segment);
abstract member SetSelected : bool * nint -> unit
override this.SetSelected : bool * nint -> unit

參數

selected
Boolean
segment
System.System.IntPtr System.nativeint
屬性

適用於