共用方式為


NSTabView.IndexOf 方法

定義

多載

IndexOf(NSTabViewItem)
IndexOf(NSObject)

IndexOf(NSTabViewItem)

[Foundation.Export("indexOfTabViewItem:")]
public virtual nint IndexOf (AppKit.NSTabViewItem tabViewItem);
abstract member IndexOf : AppKit.NSTabViewItem -> nint
override this.IndexOf : AppKit.NSTabViewItem -> nint

參數

tabViewItem
NSTabViewItem

傳回

System.System.IntPtr System.nativeint
屬性

適用於

IndexOf(NSObject)

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

參數

identifier
NSObject

傳回

System.System.IntPtr System.nativeint
屬性

適用於