Version

AddRange Method (RibbonTabCollectionBase)

Adds the specified array of tabs to the collection.
Syntax
'Declaration
 
Public Sub AddRange( _
   ByVal tabs() As RibbonTab _
) 
public void AddRange( 
   RibbonTab[] tabs
)

Parameters

tabs
The collection of RibbonTab objects to add to the collection.
Exceptions
ExceptionDescription
System.ArgumentNullExceptiontabs is null.
System.ArgumentExceptionA tab in tabs has a reserved key.
System.ArgumentExceptionA tab in tabs has key or null or empty.
System.ArgumentExceptionA tab in tabs has key which matched the key of a tab already in the collection.
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