TryGetValue Method (key, value)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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
Boolean
true if the data contains an item with the specified key; otherwise, false.

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