ContainsKey Method (key)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ContainsKey Method (key)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathMapContainsKey(String)
Tests whether a direcotry, component, or file key exists in the map.
Declaration Syntax
C# Visual Basic Visual C++ F#
public bool ContainsKey(
	string key
)
Public Function ContainsKey ( 
	key As String
) As Boolean
public:
virtual bool ContainsKey(
	String^ key
) sealed
abstract ContainsKey : 
        key : string -> bool 
override ContainsKey : 
        key : string -> bool 
Parameters
key (String)
Depending on the type of InstallPathMap, this is the primary key from the either the Directory, Component, or File table.
Return Value
Boolean
true if the key is found; false otherwise

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