JumpList.Apply 方法

在其当前状态下将 JumpList 发送到 Windows shell 中。

命名空间:  Microsoft.Windows.Shell
程序集:  Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)

语法

声明
Public Sub Apply
public void Apply()
public:
void Apply()
member Apply : unit -> unit 
public function Apply()

异常

异常 条件
InvalidOperationException

JumpList 未完全初始化。

备注

Apply 方法在其当前状态下将 JumpList 的内容发送到 Windows shell 中。 完成此调用后,JumpItems 属性可以修改为只包含 Windows 外壳程序成功添加到其任务栏跳转列表中的项目。 可以通过 JumpItemsRejectedJumpItemsRemovedByUser 事件的事件处理程序访问已移除项的列表。

.NET Framework 安全性

请参见

参考

JumpList 类

Microsoft.Windows.Shell 命名空间