Dynamicweb 8 Documentation
PriceCollection Class
Members  Example 

Represents a collection of prices.
Object Model
PriceCollection ClassPrice Class
Syntax
Example
class MyPage : System.Web.UI.Page
{
    private Dynamicweb.eCommerce.Prices.PriceCollection CheckUnit(Dynamicweb.eCommerce.Prices.PriceCollection priceCollection, string UnitID)
    {
        Dynamicweb.eCommerce.Prices.PriceCollection ReturnCollection = new Dynamicweb.eCommerce.Prices.PriceCollection();
        foreach (Dynamicweb.eCommerce.Prices.Price price in priceCollection)
        {
            if (price.UnitID == UnitID)
            {
                ReturnCollection.Add(price);
            }
        }
        return ReturnCollection;
    }
}
Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection<T>
      Dynamicweb.eCommerce.Prices.PriceCollection

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

PriceCollection Members
Dynamicweb.eCommerce.Prices Namespace

Send Feedback