Share via


JumpList.Apply Method

Sends the JumpList to the Windows shell in its current state.

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Sub Apply
public void Apply()
public:
void Apply()
member Apply : unit -> unit 
public function Apply()

Exceptions

Exception Condition
InvalidOperationException

The JumpList is not completely initialized.

Remarks

The Apply method sends the content of the JumpList to the Windows shell in its current state. After this call is complete, the JumpItems property is modified to contain only those items that the Windows shell successfully added to its taskbar Jump List. You can access the lists of removed items through event handlers for the JumpItemsRejected and JumpItemsRemovedByUser events.

.NET Framework Security

See Also

Reference

JumpList Class

Microsoft.Windows.Shell Namespace