Dela via


DataItemCollection Members

Include Protected Members
Include Inherited Members

Contains a collection of DataItem objects. This class cannot be inherited.

The DataItemCollection type exposes the following members.

Methods

  Name Description
Public method Add(DataItem) Adds a DataItem to the end of the collection.
Public method Add(String, String) Creates and adds a DataItem, with the specified table name and column name, to the end of the collection.
Public method Add(String, String, OleDbType) Creates and adds a DataItem, with the specified table name, column name, and data type, to the end of the collection.
Public method Add(String, String, OleDbType, Int32) Creates and adds a DataItem, with the specified table name, column name, data type, and data size, to the end of the collection.
Public method Clear() Removes all elements from the collection. This class cannot be inherited.
Public method Contains(DataItem) Indicates whether the collection contains a specified DataItem.
Public method CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. This class cannot be inherited.
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Public method IndexOf(DataItem) Gets the index of a specified DataItem.
Public method Insert(Int32, DataItem) Inserts a DataItem into the collection at the specified index.
Protected method MemberwiseClone() (Inherited from Object.)
Public method Remove(DataItem) Removes the specified DataItem from the collection.
Public method RemoveAt(Int32) Removes the DataItem at the specified index from the collection. This class cannot be inherited.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of DataItem objects contained in the collection.
Public property Item[Int32] Gets the DataItem at the specified index from the collection.

Top