C# Класс WixSharp.Property

Defines WiX custom property.

Traditional property usage involves defining the property by instantiating the Property class (in the Project structure) and then setting it from CustomAction (e.g. SetPropertyAction).

Property value can be analyzed and used in CustomActions or it can be a base for the Condition of item to be installed.

Наследование: WixEntity
Показать файл Открыть проект

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

Свойство Тип Описание
Value string

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

Метод Описание
Property ( )

Initializes a new instance of the Property class.

Property ( Id id, string name, string value )

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

Property ( string name )

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

Property ( string name, string value )

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

ToString ( ) : string

Returns a System.String that represents this instance.

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

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

Initializes a new instance of the Property class.
public Property ( )

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

Initializes a new instance of the Property class with properties/fields initialized with specified parameters.
public Property ( Id id, string name, string value )
id Id The explicit to be associated with instance.
name string The name of the property.
value string The initial value of the property.

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

Initializes a new instance of the Property class with properties/fields initialized with specified parameters.
public Property ( string name )
name string The name of the property.

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

Initializes a new instance of the Property class with properties/fields initialized with specified parameters.
public Property ( string name, string value )
name string The name of the property.
value string The initial value of the property.

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

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

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

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

The initial value of the property.
public string Value
Результат string