Features Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation Features Property
Gets the set of published features for the product.
Declaration Syntax
C# Visual Basic Visual C++ F#
public IEnumerable<FeatureInstallation> Features { get; }
Public ReadOnly Property Features As IEnumerable(Of FeatureInstallation)
	Get
public:
property IEnumerable<FeatureInstallation^>^ Features {
	IEnumerable<FeatureInstallation^>^ get ();
}
member Features : IEnumerable<FeatureInstallation> with get
Return Value
IEnumerable<(Of <(<'FeatureInstallation>)>)>
Enumeration of published features for the product.
Remarks

Because features are not ordered, any new feature has an arbitrary index, meaning this property can return features in any order.

Win32 MSI API: MsiEnumFeatures

Exceptions
Exception Condition
InstallerException The installer configuration data is corrupt

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)