HeaderPane
Main
Hide
Share Link
Print

IndexOf Method, TabCollectionClass Class

Returns the position of the given tab.

Class: TabCollectionClass
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public int IndexOf( TabClass tab );
public int IndexOf( string name );
Public Function IndexOf( ByVal tab As TabClass ) As Integer
Public Function IndexOf( ByVal name As String ) As Integer

Parameters

tab

The tab.

name

The name.

Return Value

The zero-based position, or -1 if the tab is not part of the collection or no tab has the given name.

Comments

Returns the position of the given tab.

A tab can be located by its TabClass object or by its name (TabClass.Name property).

See Also TabCollectionClass Class | Classes | SftTabs/NET 3.0