NSPopUpButtonCell.IndexOf(NSMenuItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("indexOfItem:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr IndexOf(AppKit.NSMenuItem item);
[<Foundation.Export("indexOfItem:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member IndexOf : AppKit.NSMenuItem -> nativeint
override this.IndexOf : AppKit.NSMenuItem -> nativeint
Parameters
- item
- NSMenuItem
Returns
IntPtr
nativeint
- Attributes