Class WindowsTaskbar.ShellLink
Represents a shell link targeting a file.
Namespace: NanoByte.Common.Native
Assembly: NanoByte.Common.dll
Syntax
public sealed class ShellLink : ValueType
Constructors
ShellLink(String, String, String)
Creates a new shell link structure.
Declaration
public ShellLink(string title, string path, string arguments = null)
Parameters
Type | Name | Description |
---|---|---|
String | title | The title/name of the task link. |
String | path | The target path the link shall point to and to get the icon from. |
String | arguments | Additional arguments for |
ShellLink(String, String, String, String, Int32)
Creates a new shell link structure
Declaration
public ShellLink(string title, string path, string arguments, string iconPath, int iconIndex)
Parameters
Type | Name | Description |
---|---|---|
String | title | The title/name of the task link. |
String | path | The target path the link shall point to. |
String | arguments | Additional arguments for |
String | iconPath | The path of the icon for the link. |
Int32 | iconIndex | The resource index within the file specified by |
Fields
Arguments
Additional arguments for Title; can be null
.
Declaration
public readonly string Arguments
Field Value
Type | Description |
---|---|
String |
IconIndex
The resource index within the file specified by IconPath.
Declaration
public readonly int IconIndex
Field Value
Type | Description |
---|---|
Int32 |
IconPath
The path of the icon for the link.
Declaration
public readonly string IconPath
Field Value
Type | Description |
---|---|
String |
Path
The target path the link shall point to.
Declaration
public readonly string Path
Field Value
Type | Description |
---|---|
String |
Title
The title/name of the task link.
Declaration
public readonly string Title
Field Value
Type | Description |
---|---|
String |