TableCollection Class

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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 try to free resources and perform other cleanup operations before it 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.
(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.dll) Version: 3.0.0.0 (3.9.1006.0)