Dynamicweb 8 Documentation
ProductCollection Class Members
Properties  Methods 


The following tables list the members exposed by ProductCollection.

Public Properties
 NameDescription
Public PropertyCountGets the number of elements actually contained in the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Public PropertyItemGets the element at the specified index.  
Top
Protected Properties
 NameDescription
Protected PropertyItemsGets a IList wrapper around the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Top
Public Methods
 NameDescription
Public MethodAddAdds an object to the end of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Public MethodAddRangeAdds a range of products to this collection.  
Public MethodClearRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Public MethodContainsSearch the ProductCollection for existance of the param  
Public MethodCopyToCopies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Public MethodGetEnumeratorReturns an enumerator that iterates through the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Public MethodgetProductByIdGets the product by ID.  
Public MethodIndexOfOverloaded. Searches product in the list by ID.  
Public MethodInsertInserts the given product at the specified index.  
Public MethodLoadOverloaded. Loads data for products from DB.  
Public MethodLoadPricesLoads the prices.  
Public MethodLoadProductCategoryValuesLoads the product category values.  
Public MethodLoadProductItemsLoads the product items.  
Public MethodLoadStockUnitsLoads the stock units.  
Public MethodReFactorProductListRemoves not used items from product list.  
Public MethodRemoveOverloaded. Removes the specified products.  
Public MethodRemoveAtRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Public MethodReplaceReplaces the product at specified position with another one.  
Public MethodSaveAllProductsSaves all Product objects the this ProductCollection.  
Public MethodSortOverloaded. Sorts this instance.  
Public Methodstatic (Shared in Visual Basic)SortByExistsChecks if the SortBy-enum contains this name  
Top
Protected Methods
 NameDescription
Protected MethodClearItemsRemoves all elements from the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Protected MethodInsertItemInserts an element into the Collection at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Protected MethodRemoveItemRemoves the element at the specified index of the Collection. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Protected MethodSetItemReplaces the element at the specified index. (Inherited from System.Collections.ObjectModel.Collection<Product>)
Top
See Also

Reference

ProductCollection Class
Dynamicweb.eCommerce.Products Namespace

Send Feedback