Deployment Tools Foundation
Item Property (property)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Session ► Item[([( String])])
Gets or sets the string value of a named installer property, as maintained by the
Session object in the in-memory Property table, or, if it is prefixed with a percent
sign (%), the value of a system environment variable for the current process.
Declaration Syntax| C# | Visual Basic | Visual C++ |
public string this[ string property ] { get; set; }
Public Default Property Item ( property As String ) As String Get Set
public: property String^ default[String^ property] { String^ get (String^ property); void set (String^ property, String^ value); }
Parameters- property (String)
Property Value
RemarksWin32 MSI APIs: MsiGetProperty, MsiSetProperty
Exceptions| Exception | Condition |
|---|---|
| InvalidHandleException | the Session handle is invalid |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)