Deployment Tools Foundation
Item Property (propertyName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► PatchInstallation ► Item[([( String])])
Gets information about a specific patch installation.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
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; }
abstract Item : string with get override Item : string with get
Parameters
- propertyName (String)
- The property being retrieved; see remarks for valid properties.
Return Value
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.
Remarks
Win32 MSI APIs: MsiGetPatchInfo, MsiGetPatchInfoEx
Exceptions
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.11.1.2318)