Compartilhar via


NSMenu.AddItem Método

Definição

Sobrecargas

AddItem(NSMenuItem)
AddItem(String, Selector, String)

AddItem(NSMenuItem)

[Foundation.Export("addItem:")]
public virtual void AddItem (AppKit.NSMenuItem newItem);
abstract member AddItem : AppKit.NSMenuItem -> unit
override this.AddItem : AppKit.NSMenuItem -> unit

Parâmetros

newItem
NSMenuItem
Atributos

Aplica-se a

AddItem(String, Selector, String)

[Foundation.Export("addItemWithTitle:action:keyEquivalent:")]
public virtual AppKit.NSMenuItem AddItem (string title, ObjCRuntime.Selector action, string charCode);
abstract member AddItem : string * ObjCRuntime.Selector * string -> AppKit.NSMenuItem
override this.AddItem : string * ObjCRuntime.Selector * string -> AppKit.NSMenuItem

Parâmetros

title
String
action
Selector
charCode
String

Retornos

Atributos

Aplica-se a