共用方式為


NSPopUpButtonCell.IndexOfItemWithRepresentedObject(NSObject) 方法

定義

[Foundation.Export("indexOfItemWithRepresentedObject:")]
public virtual nint IndexOfItemWithRepresentedObject (Foundation.NSObject obj);
abstract member IndexOfItemWithRepresentedObject : Foundation.NSObject -> nint
override this.IndexOfItemWithRepresentedObject : Foundation.NSObject -> nint

參數

obj
NSObject

傳回

System.System.IntPtr System.nativeint
屬性

適用於