Version

AddRange Method

Adds an array of NavBarItem instances to this NavBarItemsCollection.
Syntax
'Declaration
 
Public Sub AddRange( _
   ByVal items() As NavBarItem _
) 
public void AddRange( 
   NavBarItem[] items
)

Parameters

items
An Array of NavBarItem instances to be added.
Remarks

The Add(NavBarItem) method issues a property change notification each time an NavBarItem is added to the collection; because this necessitates metrics recalculations, adding large numbers of members to the collection via the Add method is not recommended. The AddRange method provides a way to add large numbers of items without incurring the overhead of multiple property change notifications.

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