Share via


JumpList.JumpItems Property

Gets the collection of JumpItem objects that are displayed in the Jump List.

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

Syntax

'Declaration
Public ReadOnly Property JumpItems As List(Of JumpItem)
public List<JumpItem> JumpItems { get; }
public:
property List<JumpItem^>^ JumpItems {
    List<JumpItem^>^ get ();
}
member JumpItems : List<JumpItem>
function get JumpItems () : List<JumpItem>

Property Value

Type: System.Collections.Generic.List<JumpItem>
The collection of JumpItem objects displayed in the Jump List. The default is an empty collection.

Remarks

Jump Lists can contain two types of items, a JumpTask and a JumpPath. A JumpTask is a link to a program and a JumpPath is a link to a file.

When a JumpList is created, the JumpItems collection is empty. You can add any JumpTask or JumpPath objects to the collection. The collection will only contain items that have been added by your program. After the JumpList has been passed to the Windows shell by a successful call to either the EndInit or Apply methods, the JumpItems collection will contain only the items that were successfully added to the taskbar Jump List. Items that were not successfully added are removed from the JumpItems collection. 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