InstallPathMap Class

Microsoft Deployment Tools

Deployment Tools Foundation InstallPathMap Class
Represents a mapping of install paths for all directories, components, or files in an installation database.
Declaration Syntax
Members
All Members Constructors Methods Properties



Icon Member Description
InstallPathMap()()()
Creates a new empty InstallPathMap.

Add(String, InstallPath)
Sets an install path for a direcotry, component, or file key.

BuildComponentPathMap(Database, InstallPathMap)
Builds a mapping from Component keys to installation paths.

BuildDirectoryPathMap(Database, Boolean)
Builds a mapping from Directory keys to installation paths.

BuildDirectoryPathMap(Database, Boolean, String, String)
Builds a mapping of Directory keys to directory paths, specifying root directories for the source and target paths.

BuildFilePathMap(Database, InstallPathMap, Boolean)
Builds a mapping from File keys to installation paths.

Clear()()()
Removes all entries from the dictionary.

ContainsKey(String)
Tests whether a direcotry, component, or file key exists in the map.

Count
Gets the number of entries in the dictionary.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()
Gets an enumerator over all entries in the dictionary.

GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Item[([(String])])
Gets or sets an install path for a direcotry, component, or file key.

Keys
Gets the collection of keys in the InstallPathMap. Depending on the type of InstallPathMap, they are all directory, component, or file key strings.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(String)
Removes an install path from the map.

SourcePaths
Gets a mapping from keys to source paths.

TargetPaths
Gets a mapping from keys to target paths.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TryGetValue(String, InstallPath%)
Attempts to get a value from the dictionary.

Values
Gets the collection of InstallPath values in the InstallPathMap.

Inheritance Hierarchy
Object
InstallPathMap

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