FeatureInfoCollection Class
Accessor for information about features within the context of an installation session.
Methods
Section titled “Methods”| Method | Description |
|---|---|
| Contains(feature) | Checks if the collection contains a feature. |
| CopyTo(array, arrayIndex) | Copies the features into an array. |
| GetEnumerator() | Enumerates the features in the collection. |
Properties
Section titled “Properties”| Property | Description |
|---|---|
| Count | Gets the number of features defined for the product. |
| Item | Gets information about a feature within the context of an installation session. |
WixToolset.Dtf.WindowsInstaller.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8 |
Contains(feature) Method
Section titled “Contains(feature) Method”Checks if the collection contains a feature.
Declaration
Section titled “Declaration”public bool Contains( string feature)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| feature | string | name of the feature |
Return value
Section titled “Return value”bool true if the feature is in the collection, else false
CopyTo(array, arrayIndex) Method
Section titled “CopyTo(array, arrayIndex) Method”Copies the features into an array.
Declaration
Section titled “Declaration”public void CopyTo( FeatureInfo[] array, int arrayIndex)Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| array | FeatureInfo[] | array that receives the features |
| arrayIndex | int | offset into the array |
GetEnumerator() Method
Section titled “GetEnumerator() Method”Enumerates the features in the collection.
Declaration
Section titled “Declaration”public IEnumerator<WixToolset.Dtf.WindowsInstaller.FeatureInfo> GetEnumerator()Return value
Section titled “Return value”IEnumerator<WixToolset.Dtf.WindowsInstaller.FeatureInfo> an enumerator over all features in the collection
Count Property
Section titled “Count Property”Gets the number of features defined for the product.
Declaration
Section titled “Declaration”public int Count { get; set; }Item Property
Section titled “Item Property”Gets information about a feature within the context of an installation session.
Declaration
Section titled “Declaration”public FeatureInfo Item[ string feature] { get; set; }Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
| feature | string | name of the feature |