Add Method (item)

Microsoft Deployment Tools

Deployment Tools Foundation Add Method (item)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerCustomActionDataAdd(KeyValuePair<(Of <(String, String>)>))
Adds an item with key and value to the data collection.
Declaration Syntax
C# Visual Basic Visual C++
public void Add(
	KeyValuePair<string, string> item
)
Public Sub Add ( _
	item As KeyValuePair(Of String, String) _
)
public:
virtual void Add(
	KeyValuePair<String^, String^> item
) sealed
Parameters
item (KeyValuePair<(Of <(String, String>)>))
Case-sensitive data key, with a data value that 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)