Version

Insert(Int32,String) Method

Method that inserts a tab into the collection at a specific index with a given key.
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As Integer, _
   ByVal key As String _
) As UltraTab
public UltraTab Insert( 
   int index,
   string key
)

Parameters

index
Where to insert the new tab
key
The key to assign the new tab

Return Value

The newly added tab
Remarks

The Insert method is an overloaded method. This method inserts a UltraTab at the UltraTab.Index it is passed and supplies a Key to the tab. All tabs within the collection residing at the index or later in the collection will have their indexes increased by one. The index passed in must be an integer and the key that is passed must be a string.

UltraTabControlBase.Tabs.Insert(0, "myKey")

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also