/// <summary> /// Inserts a JumpList item at the top of the category. If the category is already full, /// the bottom item will be removed. /// </summary> /// <param name="item">The item to insert into the JumpList.</param> public void InsertJumpListItem(IJumpListItem item) { // If the item is already on the jumplist, remove it first. RemoveJumpListItem(item.Path); if (MaxItems > 0 && JumpListItems.Count >= MaxItems) { JumpListItems.Remove(JumpListItems[JumpListItems.Count - 1]); } JumpListItems.Insert(0, item); }