Condividi tramite


NSMenu.IndexOf Metodo

Definizione

Overload

IndexOf(String)
IndexOf(NSMenuItem)
IndexOf(nint)

IndexOf(String)

[Foundation.Export("indexOfItemWithTitle:")]
public virtual nint IndexOf (string aTitle);
abstract member IndexOf : string -> nint
override this.IndexOf : string -> nint

Parametri

aTitle
String

Restituisce

System.System.IntPtr System.nativeint
Attributi

Si applica a

IndexOf(NSMenuItem)

[Foundation.Export("indexOfItem:")]
public virtual nint IndexOf (AppKit.NSMenuItem index);
abstract member IndexOf : AppKit.NSMenuItem -> nint
override this.IndexOf : AppKit.NSMenuItem -> nint

Parametri

index
NSMenuItem

Restituisce

System.System.IntPtr System.nativeint
Attributi

Si applica a

IndexOf(nint)

[Foundation.Export("indexOfItemWithTag:")]
public virtual nint IndexOf (nint itemTag);
abstract member IndexOf : nint -> nint
override this.IndexOf : nint -> nint

Parametri

itemTag
System.System.IntPtr System.nativeint

Restituisce

System.System.IntPtr System.nativeint
Attributi

Si applica a