C# Класс WixSharp.UI.Forms.FeatureItem

Equivalent of Microsoft.Deployment.WindowsInstaller.FeatureInfo which is read-only and doesn't work anyway (at least in WiX v3.9)
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Attributes FeatureAttributes
CurrentState InstallState
Description string
Name string
Parent FeatureItem
ParentName string
RequestedState InstallState
Title string
View object

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

Метод Описание
FeatureItem ( ) : System.Collections.Generic

Initializes a new instance of the FeatureItem class.

FeatureItem ( Microsoft.Deployment.WindowsInstaller.Session session, string name ) : System.Collections.Generic

Initializes a new instance of the FeatureItem class.

ToString ( ) : string

Returns a System.String that represents this instance.

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

Метод Описание
DetectFeatureState ( Microsoft.Deployment.WindowsInstaller.Session session, string name ) : InstallState

Detects the state of the feature.

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

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

Initializes a new instance of the FeatureItem class.
public FeatureItem ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Initializes a new instance of the FeatureItem class.
public FeatureItem ( Microsoft.Deployment.WindowsInstaller.Session session, string name ) : System.Collections.Generic
session Microsoft.Deployment.WindowsInstaller.Session The session.
name string The name.
Результат System.Collections.Generic

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

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

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

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

The defines how the feature should be displayed in the feature tree.
public FeatureAttributes Attributes
Результат FeatureAttributes

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

The current state. Defines the InstallState of the feature before the MSI execution.
public InstallState CurrentState
Результат InstallState

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

The description of the Feature
public string Description
Результат string

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

The name of the Feature
public string Name
Результат string

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

The parent FeatureItem
public FeatureItem,WixSharp.UI.Forms Parent
Результат FeatureItem

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

The name of the parent Feature
public string ParentName
Результат string

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

The requested state. Defines the InstallState of the feature to be achieved as the result of the MSI execution.
public InstallState RequestedState
Результат InstallState

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

The title of the Feature
public string Title
Результат string

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

The view of the Feature. Typically a TreeNode
public object View
Результат object