ProductInstallation Constructor (productCode)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ProductInstallation Constructor (productCode)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerProductInstallationProductInstallation(String)
Creates a new object for accessing information about a product installation on the current system.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ProductInstallation(
	string productCode
)
Public Sub New ( 
	productCode As String
)
public:
ProductInstallation(
	String^ productCode
)
new : 
        productCode : string -> ProductInstallation
Parameters
productCode (String)
ProductCode (GUID) of the product.
Remarks

All available user contexts will be queried.

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