TryGetValue Method (key, value)

Microsoft Deployment Tools

Deployment Tools Foundation TryGetValue Method (key, value)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstaller.PackageInstallPathMapTryGetValue(String, InstallPath%)
Attempts to get a value from the dictionary.
Declaration Syntax
C# Visual Basic Visual C++
public bool TryGetValue(
	string key,
	out InstallPath value
)
Public Function TryGetValue ( _
	key As String, _
	<OutAttribute> ByRef value As InstallPath _
) As Boolean
public:
virtual bool TryGetValue(
	String^ key, 
	[OutAttribute] InstallPath^% value
) sealed
Parameters
key (String)
The key to lookup.
value ( InstallPath %)
Receives the value, or null if they key was not found.
Return Value
True if the value was found, else false.

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