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
titlestringThe title/name of the task link.
pathstringThe target path the link shall point to and to get the icon from.
argumentsstringAdditional 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
titlestringThe title/name of the task link.
pathstringThe target path the link shall point to.
argumentsstringAdditional arguments for
title; can benull.iconPathstringThe path of the icon for the link.
iconIndexintThe 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