Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
-
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.