Version

Add(String) Method

Creates and adds a ContextualTabGroup with the specified key.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal key As String _
) As ContextualTabGroup
public ContextualTabGroup Add( 
   string key
)

Parameters

key
The key to assign to the newly created ContextualTabGroup.

Return Value

The newly created ContextualTabGroup with the specified key.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionIf an attempt is made to add a ContextualTabGroup whose Key property value is null or string.Empty
System.InvalidOperationExceptionIf an attempt is made to add a ContextualTabGroup whose Key property value conflicts with the value of the Key property of an existing ContextualTabGroup in the collection.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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