ColumnCollection Class

Microsoft Deployment Compression & Installer

Copy image CopyHover image
Deployment Tools Foundation ColumnCollection Class
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerColumnCollection
Collection of column information related to a TableInfo or View.
Declaration Syntax
C# Visual Basic Visual C++
public sealed class ColumnCollection : ICollection<ColumnInfo>, 
	IEnumerable<ColumnInfo>, IEnumerable
Public NotInheritable Class ColumnCollection
	Implements ICollection(Of ColumnInfo), IEnumerable(Of ColumnInfo), 
	IEnumerable
public ref class ColumnCollection sealed : ICollection<ColumnInfo^>, 
	IEnumerable<ColumnInfo^>, IEnumerable
Members
All Members Constructors Methods Properties



Icon Member Description
ColumnCollection(ICollection<(Of <<'(ColumnInfo>)>>))
Creates a new ColumnCollection based on a specified list of columns.

Add(ColumnInfo)
Not supported because the collection is read-only.

Clear()()()()
Not supported because the collection is read-only.

Contains(String)
Checks if a column with a given name exists in the collection.

CopyTo(array<ColumnInfo>[]()[][], Int32)
Copies the columns from this collection into an array.

Count
Gets the number of columns in the collection.

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.)
FormatString
Gets a string suitable for printing all the values of a record containing these columns.

GetEnumerator()()()()
Gets an enumerator over the columns in the collection.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IndexOf(String)
Gets the index of a column within the collection.

IsReadOnly
Gets a boolean value indicating whether the collection is read-only. A ColumnCollection is read-only if it is associated with a View or a read-only Database.

Item[([( Int32])])
Gets information about a specific column in the collection.

Item[([( String])])
Gets information about a specific column in the collection.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ColumnCollection

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)