![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
Add Method (item)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► TableCollection ► Add(TableInfo)
Adds a new table to the database.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ |
public void Add( TableInfo item )
Public Sub Add ( item As TableInfo )
public: virtual void Add( TableInfo^ item ) sealed
![](collapse_all.gif)
- item (TableInfo)
- information about the table to be added
![](collapse_all.gif)
Exception | Condition |
---|---|
InvalidOperationException | a table with the same name already exists in the database |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)