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
True if the value was found, else false.