TryGetValue Method (key, value)

Microsoft Deployment Tools

Deployment Tools Foundation TryGetValue Method (key, value)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerCustomActionDataTryGetValue(String, String%)
Gets the value with the specified key.
Declaration Syntax
C# Visual Basic Visual C++
public bool TryGetValue(
	string key,
	out string value
)
Public Function TryGetValue ( _
	key As String, _
	<OutAttribute> ByRef value As String _
) As Boolean
public:
virtual bool TryGetValue(
	String^ key, 
	[OutAttribute] String^% value
) sealed
Parameters
key (String)
Case-sensitive data key.
value ( String %)
Value associated with the specified key, or null if an item with the specified key was not found
Return Value
true if the data contains an item with the specified key; otherwise, false.

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