Struct WindowsTaskbar.ShellLink
Represents a shell link targeting a file.
public struct WindowsTaskbar.ShellLink
- Extension Methods
Constructors
ShellLink(string, string, string?)
Creates a new shell link structure.
public ShellLink(string title, string path, string? arguments = null)
Parameters
title
stringThe title/name of the task link.
path
stringThe target path the link shall point to and to get the icon from.
arguments
stringAdditional arguments for
title
; can benull
.
ShellLink(string, string, string, string, int)
Creates a new shell link structure
public ShellLink(string title, string path, string arguments, string iconPath, int iconIndex)
Parameters
title
stringThe title/name of the task link.
path
stringThe target path the link shall point to.
arguments
stringAdditional arguments for
title
; can benull
.iconPath
stringThe path of the icon for the link.
iconIndex
intThe resource index within the file specified by
iconPath
.
Fields
Arguments
Additional arguments for Title; can be null
.
public readonly string? Arguments
Field Value
- string
IconIndex
The resource index within the file specified by IconPath.
public readonly int IconIndex
Field Value
- int
IconPath
The path of the icon for the link.
public readonly string IconPath
Field Value
- string
Path
The target path the link shall point to.
public readonly string Path
Field Value
- string
Title
The title/name of the task link.
public readonly string Title
Field Value
- string