Version

Insert(Int32,String) Method

Inserts a new ContextualTabGroup with the specified key in the collection at the specified index.
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As Integer, _
   ByVal key As String _
) As ContextualTabGroup
public ContextualTabGroup Insert( 
   int index,
   string key
)

Parameters

index
Index at which the group should be inserted.
key
The key of the tab to create.

Return Value

The newly created ContextualTabGroup which was inserted into the collection.
Exceptions
ExceptionDescription
System.ArgumentExceptionkey is null or empty.
System.ArgumentExceptionAnother ContextualTabGroup exists in the collection with a key of key
System.ArgumentOutOfRangeExceptionindex is less than zero or greater than Count.
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