Dynamicweb 8 Documentation
Insert Method (ProductCollection)

Zero-based index.
Product to insert.
Inserts the given product at the specified index.
Syntax
'Declaration
 
Public Shadows Sub Insert( _ 
   ByVal index As Integer, _ 
   ByVal p As Product _ 
) 
public new void Insert( 
   int index,
   Product p 
)

Parameters

index
Zero-based index.
p
Product to insert.
Remarks
If the index is less the zero then the product will be inserted at the beginning of the list. If the index is greater (or equal to) the number of products in the collection then the product will be inserted at the end of the list.
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