Item Property (name)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Item Property (name)
Gets or sets a property in the database. When getting a property that does not exist in the database, an empty string is returned. To remove a property from the database, set it to an empty string.
Declaration Syntax
C# Visual Basic Visual C++ F#
public string this[
	string name
] { get; set; }
Public Default Property Item ( 
	name As String
) As String
	Get
	Set
public:
property String^ default[String^ name] {
	String^ get (String^ name);
	void set (String^ name, String^ value);
}
member Item : string with get, set
Parameters
name (String)
Property Value
Remarks
This has the same results as direct SQL queries on the Property table; it's only meant to be a more convenient way of access.

Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)