共用方式為


NSComboBoxCellDataSource.IndexOfItem(NSComboBoxCell, String) 方法

定義

[Foundation.Export("comboBoxCell:indexOfItemWithStringValue:")]
public virtual nuint IndexOfItem (AppKit.NSComboBoxCell comboBox, string value);
abstract member IndexOfItem : AppKit.NSComboBoxCell * string -> nuint
override this.IndexOfItem : AppKit.NSComboBoxCell * string -> nuint

參數

comboBox
NSComboBoxCell
value
String

傳回

System.System.UIntPtr System.unativeint
屬性

適用於