The DbColumnCollection type exposes the following members.

Constructors

  NameDescription
DbColumnCollection
Default constructor.

Methods

  NameDescription
Add
Adds a column to the collection.
Clear
Clears the collection.
ContainsOverloaded.
Equals
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.)
Find
Same as IndexOf(String).
FindIdentity
Searches the collection for a column with the Identity property set to true.
GetEnumerator
Returns an object that implementd the IEnumerator interface.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
IndexOfOverloaded.
Insert
Inserts a DbColumn at the given index.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove
Removes the given column from the collection.
RemoveAt
Removes the column at the given index.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
m_columns

Properties

  NameDescription
Count
Gets the number of columns in the collection.
IsFixedSize
Always false.
IsReadOnly
Always false.
IsSynchronized
Always false.
ItemOverloaded.
SyncRoot
Not implemented.

See Also