InstallPathMap Class

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation InstallPathMap Class
Represents a mapping of install paths for all directories, components, or files in an installation database.
Declaration Syntax
C# Visual Basic Visual C++
public class InstallPathMap : IDictionary<string, InstallPath>, 
	ICollection<KeyValuePair<string, InstallPath>>, IEnumerable<KeyValuePair<string, InstallPath>>, 
	IEnumerable
Public Class InstallPathMap
	Implements IDictionary(Of String, InstallPath), 
	ICollection(Of KeyValuePair(Of String, InstallPath)), IEnumerable(Of KeyValuePair(Of String, InstallPath)), 
	IEnumerable
public ref class InstallPathMap : IDictionary<String^, InstallPath^>, 
	ICollection<KeyValuePair<String^, InstallPath^>>, IEnumerable<KeyValuePair<String^, InstallPath^>>, 
	IEnumerable
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 try to free resources and perform other cleanup operations before it 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.
(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.dll) Version: 3.0.0.0 (3.9.1006.0)