MonobjcMonobjc Documented Class Library
IndexOfTabViewItem Method (tabViewItem)
NamespacesMonobjc.AppKitNSTabViewIndexOfTabViewItem(NSTabViewItem)

Returns the index of the specified item in the tab view.

Original signature is '- (NSInteger)indexOfTabViewItem:(NSTabViewItem *)tabViewItem'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSInteger IndexOfTabViewItem(
	NSTabViewItem tabViewItem
)
Public Overridable Function IndexOfTabViewItem ( _
	tabViewItem As NSTabViewItem _
) As NSInteger
public:
virtual NSInteger IndexOfTabViewItem(
	NSTabViewItem^ tabViewItem
)
Parameters
tabViewItem (NSTabViewItem)
The tab view item.
Return Value
The zero-based index of tabViewItem, or [NSNotFound] if the item is not found.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)