AllComponents Property

DTF API

Copy image CopyHover image
Deployment Tools Foundation AllComponents Property
Gets the set of installed components for all products.
Declaration Syntax
C# Visual Basic Visual C++ F#
public static IEnumerable<ComponentInstallation> AllComponents { get; }
Public Shared ReadOnly Property AllComponents As IEnumerable(Of ComponentInstallation)
	Get
public:
static property IEnumerable<ComponentInstallation^>^ AllComponents {
	IEnumerable<ComponentInstallation^>^ get ();
}
static member AllComponents : IEnumerable<ComponentInstallation> with get
Property Value
IEnumerable < (Of < ( <' ComponentInstallation > ) > ) >
Remarks

Win32 MSI API: MsiEnumComponents

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)