Item Property (key)

DTF API

Copy image CopyHover image
Deployment Tools Foundation Item Property (key)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathMapItem[([( String])])
Gets or sets an install path for a direcotry, component, or file key.
Declaration Syntax
C# Visual Basic Visual C++ F#
public InstallPath this[
	string key
] { get; set; }
Public Default Property Item ( 
	key As String
) As InstallPath
	Get
	Set
public:
virtual property InstallPath^ default[String^ key] {
	InstallPath^ get (String^ key) sealed;
	void set (String^ key, InstallPath^ value) sealed;
}
abstract Item : InstallPath with get, set
override Item : InstallPath with get, set
Parameters
key (String)
Depending on the type of InstallPathMap, this is the primary key from the either the Directory, Component, or File table.
Property Value
Remarks
Changing an install path does not modify the Database used to generate this InstallPathMap.

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