TableCollection Class

Microsoft Deployment Tools

Deployment Tools Foundation TableCollection Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerTableCollection
Contains information about all the tables in a Windows Installer database.
Declaration Syntax
C# Visual Basic Visual C++
public class TableCollection : ICollection<TableInfo>, 
	IEnumerable<TableInfo>, IEnumerable
Public Class TableCollection _
	Implements ICollection(Of TableInfo), IEnumerable(Of TableInfo),  _
	IEnumerable
public ref class TableCollection : ICollection<TableInfo^>, 
	IEnumerable<TableInfo^>, IEnumerable
Members
All Members Methods Properties



Icon Member Description
Add(TableInfo)
Adds a new table to the database.

Clear()()()
Removes all tables (and all data) from the database.

Contains(String)
Checks if the database contains a table with the given name.

CopyTo(array<TableInfo>[]()[], Int32)
Copies the table information from this collection into an array.

Count
Gets the number of tables in the database.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEnumerator()()()
Enumerates the tables in the database.

GetHashCode()()()
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsReadOnly
Gets a boolean value indicating whether the collection is read-only. A TableCollection is read-only when the database is read-only.

Item[([(String])])
Gets information about a given table.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove(String)
Removes a table from the database.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
TableCollection

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