C# Класс WixSharp.EnvironmentVariable

Defines FileType association to be created for the file extension and the installed file/application (parent T:WixSharp.File).
Наследование: WixEntity
Показать файл Открыть проект

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

Свойство Тип Описание
Action EnvVarAction
Condition Condition
Feature Feature
Part EnvVarPart?
Permanent bool?
System bool?
Value string

Открытые методы

Метод Описание
EnvironmentVariable ( Feature feature, string name, string value ) : System

Initializes a new instance of the EnvironmentVariable class.

EnvironmentVariable ( Id id, Feature feature, string name, string value ) : System

Initializes a new instance of the EnvironmentVariable class.

EnvironmentVariable ( Id id, string name, string value ) : System

Initializes a new instance of the EnvironmentVariable class.

EnvironmentVariable ( string name, string value ) : System

Initializes a new instance of the EnvironmentVariable class.

Приватные методы

Метод Описание
ToXml ( ) : object[]

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

EnvironmentVariable() публичный Метод

Initializes a new instance of the EnvironmentVariable class.
public EnvironmentVariable ( Feature feature, string name, string value ) : System
feature Feature the environment variable should be included in.
name string The name of the environment variable.
value string The value of the environment variable.
Результат System

EnvironmentVariable() публичный Метод

Initializes a new instance of the EnvironmentVariable class.
public EnvironmentVariable ( Id id, Feature feature, string name, string value ) : System
id Id The explicit to be associated with instance.
feature Feature the environment variable should be included in.
name string The name.
value string The value.
Результат System

EnvironmentVariable() публичный Метод

Initializes a new instance of the EnvironmentVariable class.
public EnvironmentVariable ( Id id, string name, string value ) : System
id Id The explicit to be associated with instance.
name string The name of the environment variable.
value string The value of the environment variable.
Результат System

EnvironmentVariable() публичный Метод

Initializes a new instance of the EnvironmentVariable class.
public EnvironmentVariable ( string name, string value ) : System
name string The name of the environment variable.
value string The value of the environment variable.
Результат System

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

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

Specifies whether the environmental variable should be created, set or removed when the parent component is installed. T:WixSharp.EnvironmentVariable.Action.
public EnvVarAction Action
Результат EnvVarAction

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

Defines the installation Condition, which is to be checked during the installation to determine if the registry value should be created on the target system.
public Condition Condition
Результат Condition

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

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

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

Indicates how value should be set.
public EnvVarPart? Part
Результат EnvVarPart?

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

Specifies that the environment variable should not be removed on uninstall.
public bool? Permanent
Результат bool?

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

Specifies that the environment variable should be added to the system environment space. The default is 'no' which indicates the environment variable is added to the user environment space.
public bool? System
Результат bool?

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

The value to set into the environment variable. If this attribute is not set, the environment variable is removed during installation if it exists on the machine.
public string Value
Результат string