Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItemCollection Class / FilterByShipmentAndSort Method / FilterByShipmentAndSort(IList<OrderItem>,Int32) Method
Order Item List
Id of the order shipment for which to get the order items
In This Topic
    FilterByShipmentAndSort(IList<OrderItem>,Int32) Method
    In This Topic
    Gets a collection of all order items in this collection that belong to a particular shipment and sorts them.
    Syntax
    [Extension()]
    [Obsolete("Use GetDisplayItems instead.")]
    public static IList<OrderItem> FilterByShipmentAndSort( 
       IList<OrderItem> items,
       int orderShipmentId
    )

    Parameters

    items
    Order Item List
    orderShipmentId
    Id of the order shipment for which to get the order items

    Return Value

    Sorted collection of order items
    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