Dynamicweb.eCommerce.Products Namespace : Group Class |
'Declaration
<SerializableAttribute()> Public Class Group
[SerializableAttribute()] public class Group
class MyPage : System.Web.UI.Page { private List<string> GetGroupsBreadcrumb(string shopFilter, string[] items) { List<string> labels = new List<string>(); GroupCollection gc = default(GroupCollection); string shopId = shopFilter; if (string.IsNullOrEmpty(shopFilter) || string.Compare(shopFilter, "ALL", true) == 0) { gc = Group.GetGroupsByIDs(items.Skip(3)); shopId = items[2]; } else { gc = Group.GetGroupsByIDs(items.Skip(2)); } Dynamicweb.eCommerce.Shops.Shop sh = new Dynamicweb.eCommerce.Shops.Shop(shopId); labels.Add(sh.Name); foreach (Group g in gc) { labels.Add(g.Name); } return labels; } }
System.Object
Dynamicweb.eCommerce.Products.Group
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