INSMenuDelegate.UpdateItem(NSMenu, NSMenuItem, IntPtr, Boolean) 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("menu:updateItem:atIndex:shouldCancel:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool UpdateItem(AppKit.NSMenu menu, AppKit.NSMenuItem item, IntPtr atIndex, bool shouldCancel);
[<Foundation.Export("menu:updateItem:atIndex:shouldCancel:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member UpdateItem : AppKit.NSMenu * AppKit.NSMenuItem * nativeint * bool -> bool
override this.UpdateItem : AppKit.NSMenu * AppKit.NSMenuItem * nativeint * bool -> bool
Parameters
- menu
- NSMenu
- item
- NSMenuItem
- atIndex
-
IntPtr
nativeint
- shouldCancel
- Boolean
Returns
- Attributes