C# 클래스 WixSharp.EnvironmentVariable

Defines FileType association to be created for the file extension and the installed file/application (parent T:WixSharp.File).
상속: WixEntity
파일 보기 프로젝트 열기: Eun/WixSharp

공개 프로퍼티들

프로퍼티 타입 설명
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