다음을 통해 공유


NSMenu.IndexOfItem 메서드

정의

오버로드

IndexOfItem(NSMenu)
IndexOfItem(NSObject)
IndexOfItem(NSObject, Selector)

IndexOfItem(NSMenu)

[Foundation.Export("indexOfItemWithSubmenu:")]
public virtual nint IndexOfItem (AppKit.NSMenu submenu);
abstract member IndexOfItem : AppKit.NSMenu -> nint
override this.IndexOfItem : AppKit.NSMenu -> nint

매개 변수

submenu
NSMenu

반환

System.System.IntPtr System.nativeint
특성

적용 대상

IndexOfItem(NSObject)

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

매개 변수

obj
NSObject

반환

System.System.IntPtr System.nativeint
특성

적용 대상

IndexOfItem(NSObject, Selector)

[Foundation.Export("indexOfItemWithTarget:andAction:")]
public virtual nint IndexOfItem (Foundation.NSObject target, ObjCRuntime.Selector actionSelector);
abstract member IndexOfItem : Foundation.NSObject * ObjCRuntime.Selector -> nint
override this.IndexOfItem : Foundation.NSObject * ObjCRuntime.Selector -> nint

매개 변수

target
NSObject
actionSelector
Selector

반환

System.System.IntPtr System.nativeint
특성

적용 대상