Add Method (key, value)

Microsoft Deployment Tools

Deployment Tools Foundation Add Method (key, value)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerCustomActionDataAdd(String, String)
Adds a key and value to the data collection.
Declaration Syntax
C# Visual Basic Visual C++
public void Add(
	string key,
	string value
)
Public Sub Add ( _
	key As String, _
	value As String _
)
public:
virtual void Add(
	String^ key, 
	String^ value
) sealed
Parameters
key (String)
Case-sensitive data key.
value (String)
Data value (may be null).
Exceptions
Exception Condition
ArgumentException the key does not consist solely of letters, numbers, and the period, underscore, and space characters.

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