Table of Contents

Struct WindowsTaskbar.ShellLink

Namespace
NanoByte.Common.Native
Assembly
NanoByte.Common.dll

Represents a shell link targeting a file.

public struct WindowsTaskbar.ShellLink
Extension Methods

Constructors

Creates a new shell link structure.

public ShellLink(string title, string path, string? arguments = null)

Parameters

title string

The title/name of the task link.

path string

The target path the link shall point to and to get the icon from.

arguments string

Additional arguments for title; can be null.

Creates a new shell link structure

public ShellLink(string title, string path, string arguments, string iconPath, int iconIndex)

Parameters

title string

The title/name of the task link.

path string

The target path the link shall point to.

arguments string

Additional arguments for title; can be null.

iconPath string

The path of the icon for the link.

iconIndex int

The resource index within the file specified by iconPath.

Fields

Additional arguments for Title; can be null.

public readonly string? Arguments

Field Value

string

The resource index within the file specified by IconPath.

public readonly int IconIndex

Field Value

int

The path of the icon for the link.

public readonly string IconPath

Field Value

string

The target path the link shall point to.

public readonly string Path

Field Value

string

The title/name of the task link.

public readonly string Title

Field Value

string