Deployment Tools Foundation
TryGetValue Method (key, value)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPathMap ► TryGetValue(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
Boolean
True if the value was found, else false.
True if the value was found, else false.
Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.9.1006.0)