Show / Hide Table of Contents

Class WindowsTaskbar.ShellLink

Represents a shell link targeting a file.

Inheritance
Object
WindowsTaskbar.ShellLink
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 title; can be null.

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 title; can be null.

String iconPath

The path of the icon for the link.

Int32 iconIndex

The resource index within the file specified by iconPath.

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

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher