Compartilhar via


NSMenu.IndexOf Método

Definição

Sobrecargas

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

Parâmetros

aTitle
String

Retornos

System.System.IntPtr System.nativeint
Atributos

Aplica-se 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

Parâmetros

index
NSMenuItem

Retornos

System.System.IntPtr System.nativeint
Atributos

Aplica-se a

IndexOf(nint)

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

Parâmetros

itemTag
System.System.IntPtr System.nativeint

Retornos

System.System.IntPtr System.nativeint
Atributos

Aplica-se a