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
属性

适用于