![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Item Property (key)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPathMap ► Item[([( String])])
Gets or sets an install path for a direcotry, component, or file key.
![](collapse_all.gif)
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
![](collapse_all.gif)
- key (String)
- Depending on the type of InstallPathMap, this is the primary key from the either the Directory, Component, or File table.
![](collapse_all.gif)
![](collapse_all.gif)
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)