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.
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
- 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.