如何在Jumplist中动态删除自定义类别中的项目(不删除跳转列表本身)。
以下是我创建jumplist和customcategory的方法:
// Creating jumplist
list = JumpList.CreateJumpListForIndividualWindow(TaskbarManager.Instance.ApplicationId, windowHandle);
// Creating custom category
userActionsCategory = new JumpListCustomCategory("MyOwnCategory");
// Adding items to custom category
JumpListLink jlapp = new JumpListLink(app_name_path, app_final_name);
jlapp.IconReference = new IconReference(app_name_icon_path, 0);
userActionsCategory.AddJumpListItems(jlapp);
// Adding category to Jumplist
list.AddCustomCategories(userActionsCategory);
现在,我希望从此自定义类别中动态添加和删除项目。 API代码包似乎提供了仅向项目添加项目的机制。如何从自定义类别中删除项目?