Dynamicweb 8 Documentation
AddRange Method (ProductCollection)

The range of products to add.
If True, then the same product can be added more than once. Otherwise it will not be added again
Adds a range of products to this collection.
Syntax
'Declaration
 
Public Sub AddRange( _ 
   ByVal collection As IEnumerable(Of Product), _ 
   ByVal allowDuplicates As Boolean _ 
) 
public void AddRange( 
   IEnumerable<Product> collection,
   bool allowDuplicates 
)

Parameters

collection
The range of products to add.
allowDuplicates
If True, then the same product can be added more than once. Otherwise it will not be added again
Requirements

Target Platforms: 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

Reference

ProductCollection Class
ProductCollection Members

Send Feedback