Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItemCollection Class / ProductCount Method
Order Item List
In This Topic
    ProductCount Method
    In This Topic
    Counts all quantites of all products in the collection
    Syntax
    [Extension()]
    public static int ProductCount( 
       IList<OrderItem> items
    )

    Parameters

    items
    Order Item List

    Return Value

    The total quantity of all products in the collection.
    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