Deployment Tools Foundation
Item Property (propertyName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ProductInstallation ► Item[([( String])])
Gets information about an installation of a product.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override string this[ string propertyName ] { get; }
Public Overrides ReadOnly Default Property Item ( propertyName As String ) As String Get
public: virtual property String^ default[String^ propertyName] { String^ get (String^ propertyName) override; }
Parameters
- propertyName (String)
- Name of the property being retrieved.
Property Value
Remarks
Win32 MSI APIs: MsiGetProductInfo, MsiGetProductInfoEx
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | An unknown product or property was requested |
InstallerException | The installer configuration data is corrupt |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)