Version

AddRange Method (CarouselItemsCollection)

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

Parameters

items
An Array of CarouselItem instances to be added.
Remarks

The Add(CarouselItem) method issues a property change notification each time an CarouselItem 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