共用方式為


NSMenuDelegate.UpdateItem(NSMenu, NSMenuItem, nint, Boolean) 方法

定義

[Foundation.Export("menu:updateItem:atIndex:shouldCancel:")]
public virtual bool UpdateItem (AppKit.NSMenu menu, AppKit.NSMenuItem item, nint atIndex, bool shouldCancel);
abstract member UpdateItem : AppKit.NSMenu * AppKit.NSMenuItem * nint * bool -> bool
override this.UpdateItem : AppKit.NSMenu * AppKit.NSMenuItem * nint * bool -> bool

參數

menu
NSMenu
item
NSMenuItem
atIndex
System.System.IntPtr System.nativeint
shouldCancel
Boolean

傳回

屬性

適用於