Share via


JumpTask.IconResourcePath Property

Gets or sets the path to a resource that contains the icon to display in the Jump List.

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

Syntax

'Declaration
Public Property IconResourcePath As String
public string IconResourcePath { get; set; }
public:
property String^ IconResourcePath {
    String^ get ();
    void set (String^ value);
}
member IconResourcePath : string with get, set
function get IconResourcePath () : String
function set IconResourcePath (value : String)

Property Value

Type: System.String
The path to a resource that contains the icon. The default is nulla null reference (Nothing in Visual Basic).

Remarks

An icon used with a JumpTask must be available as a native resource. If multiple icons are available in a DLL or executable file, you specify the one to use by indicating an offset in the IconResourceIndex property.

If no icon resource is specified, or if the specified icon is not found, the standard system icon is displayed. To specify that no icon is displayed, set the IconResourceIndex property to -1.

.NET Framework Security

See Also

Reference

JumpTask Class

Microsoft.Windows.Shell Namespace

IconResourceIndex