C# Класс WixSharp.Shortcut

Defines shortcut to be installed. Shortcut is not supposed to be instantiated directly. Derivative class constructors should be used instead (e.g. FileShortcut, ExeFileShortcut).
Наследование: WixEntity
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Advertise bool
Arguments string
Condition Condition
Feature Feature
IconFile string
IconIndex int
Location string
Target string
WorkingDirectory string

Защищенные методы

Метод Описание
Shortcut ( ) : System.Xml.Linq

Initializes a new instance of the Shortcut class.

Описание методов

Shortcut() защищенный Метод

Initializes a new instance of the Shortcut class.
protected Shortcut ( ) : System.Xml.Linq
Результат System.Xml.Linq

Описание свойств

Advertise публичное свойство

Whether this shortcut is to be advertised. The default is false.
public bool Advertise
Результат bool

Arguments публичное свойство

The shortcut arguments.
public string Arguments
Результат string

Condition публичное свойство

Defines the launch Condition which is to be checked during the installation to determine if the shortcut should be installed.
public Condition,WixSharp Condition
Результат Condition

Feature публичное свойство

the shortcut belongs to.
public Feature,WixSharp Feature
Результат Feature

IconFile публичное свойство

Defines icon file for the shortcut. Relative or absolute path to the source file containing icons (exe, dll or ico).
public string IconFile
Результат string

IconIndex публичное свойство

The zero-based index of the icon associated with this ProgId. The default value is 0.
public int IconIndex
Результат int

Location публичное свойство

The directory where the shortcut should be installed.

This value is a processed only for shortcuts which belong to the File element.

public string Location
Результат string

Target публичное свойство

The path to the executable the shortcut is associated with.

This value is a processed only for shortcuts which belong to the Dir element.

public string Target
Результат string

WorkingDirectory публичное свойство

"Working Directory" for the shortcut to be installed. If WorkingDirectory is not specified it will be set in the installed shortcut to the location of the file the shortcut points to.
public string WorkingDirectory
Результат string