Deployment Tools Foundation
Add Method (key, value)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► CustomActionData ► Add(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
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.dll) Version: 3.0.0.0 (3.9.1006.0)