C# Class WixSharp.FileShortcut

Defines FileShortcut to be installed.

FileShortcut is a specialized version of the Shortcut designed for using Shortcut as a File nested element.

There are different ways of defining shortcuts of the Wix# project:

- It can be specified as a nested element of the File. In this case, after the installation, the shortcut will point to the file it belongs to.

- Alternatively the Shortcut can be specified as a File nested element. In this case after the installation the shortcut will point to the file will point to the file it belongs to.

Inheritance: Shortcut
Datei anzeigen Open project: Eun/WixSharp Class Usage Examples

Public Methods

Method Description
FileShortcut ( ) : System

Initializes a new instance of the FileShortcut class.

FileShortcut ( Feature feature, string location ) : System

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

FileShortcut ( Feature feature, string name, string location ) : System

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

FileShortcut ( Id id, Feature feature, string location ) : System

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

FileShortcut ( Id id, Feature feature, string name, string location ) : System

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

FileShortcut ( Id id, string name, string location ) : System

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

FileShortcut ( string name, string location ) : System

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

Method Details

FileShortcut() public method

Initializes a new instance of the FileShortcut class.
public FileShortcut ( ) : System
return System

FileShortcut() public method

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

public FileShortcut ( Feature feature, string location ) : System
feature Feature the shortcut should be included in.
location string The directory where the shortcut should be installed.
return System

FileShortcut() public method

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

public FileShortcut ( Feature feature, string name, string location ) : System
feature Feature the shortcut should be included in.
name string The name of the shortcut to be installed.
location string The directory where the shortcut should be installed.
return System

FileShortcut() public method

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

public FileShortcut ( Id id, Feature feature, string location ) : System
id Id The explicit to be associated with instance.
feature Feature the shortcut should be included in.
location string The directory where the shortcut should be installed.
return System

FileShortcut() public method

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

public FileShortcut ( Id id, Feature feature, string name, string location ) : System
id Id The explicit to be associated with instance.
feature Feature the shortcut should be included in.
name string The name of the shortcut to be installed.
location string The directory where the shortcut should be installed.
return System

FileShortcut() public method

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

public FileShortcut ( Id id, string name, string location ) : System
id Id The explicit to be associated with instance.
name string The name of the shortcut to be installed.
location string The directory where the shortcut should be installed.
return System

FileShortcut() public method

Initializes a new instance of the FileShortcut class with properties/fields initialized with specified parameters.

This constructor should be used to instantiate shortcuts, which belong to the File element.

public FileShortcut ( string name, string location ) : System
name string The name of the shortcut to be installed.
location string The directory where the shortcut should be installed.
return System