Dynamicweb.eCommerce.Orders Namespace : OrderCollection Class |
'Declaration
<DefaultMemberAttribute("Item")> <SerializableAttribute()> Public Class OrderCollection Inherits System.Collections.ObjectModel.Collection(Of Order)
[DefaultMemberAttribute("Item")] [SerializableAttribute()] public class OrderCollection : System.Collections.ObjectModel.Collection<Order>
class MyPage : System.Web.UI.Page { private int NumPages(ref Dynamicweb.eCommerce.Orders.OrderCollection Orders, ref Dynamicweb.eCommerce.CustomerCenter.CustomerCenterSettings Settings) { int pageSize = Settings.ItemsPerPage; int ret = 0; ret = Convert.ToInt32(Orders.Count / pageSize); if ((ret * pageSize) < Orders.Count) { ret += 1; } return ret; } }
System.Object
System.Collections.ObjectModel.Collection<T>
Dynamicweb.eCommerce.Orders.OrderCollection
Dynamicweb.eCommerce.Orders.CustomerOrderCollection
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