Item Property (property)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Item Property (property)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerSessionItem[([( 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++ F#
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);
}
member Item : string with get, set
Parameters
property (String)
Property Value
Remarks

Win32 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.11.1.2318)