Skip to content

FeatureInfoCollection Class

Accessor for information about features within the context of an installation session.

MethodDescription
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.
PropertyDescription
CountGets the number of features defined for the product.
ItemGets information about a feature within the context of an installation session.
WixToolset.Dtf.WindowsInstaller.dll version 5.0.0+41e11442b2ca93e444b60213b5ae99dcbab787d8

Checks if the collection contains a feature.

public bool Contains(
string feature
)
ParameterTypeDescription
featurestringname of the feature

bool true if the feature is in the collection, else false

Copies the features into an array.

public void CopyTo(
FeatureInfo[] array,
int arrayIndex
)
ParameterTypeDescription
arrayFeatureInfo[]array that receives the features
arrayIndexintoffset into the array

Enumerates the features in the collection.

public IEnumerator<WixToolset.Dtf.WindowsInstaller.FeatureInfo> GetEnumerator()

IEnumerator<WixToolset.Dtf.WindowsInstaller.FeatureInfo> an enumerator over all features in the collection

Gets the number of features defined for the product.

public int Count { get; set; }

Gets information about a feature within the context of an installation session.

public FeatureInfo Item[
string feature
] { get; set; }
ParameterTypeDescription
featurestringname of the feature