![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Item Property (propertyName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► PatchInstallation ► Item[([( String])])
Gets information about a specific patch installation.
![](collapse_all.gif)
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; }
![](collapse_all.gif)
- propertyName (String)
- The property being retrieved; see remarks for valid properties.
![](collapse_all.gif)
String
The property value, or an empty string if the property is not set for the patch.
The property value, or an empty string if the property is not set for the patch.
![](collapse_all.gif)
Win32 MSI APIs: MsiGetPatchInfo, MsiGetPatchInfoEx
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentOutOfRangeException | An unknown patch 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)