Share via


DataItemCollection Miembros

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

El tipo DataItemCollection expone los siguientes miembros.

Métodos

  Nombre Descripción
Método publico Add(DataItem) Adds a DataItem to the end of the collection.
Método publico Add(String, String) Creates and adds a DataItem, with the specified table name and column name, to the end of the collection.
Método publico 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.
Método publico 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.
Método publico Clear Removes all elements from the collection. This class cannot be inherited.
Método publico Contains Indicates whether the collection contains a specified DataItem.
Método publico CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. This class cannot be inherited.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método publico IndexOf Gets the index of a specified DataItem.
Método publico Insert Inserts a DataItem into the collection at the specified index.
Método protegido MemberwiseClone (Se hereda de Object).
Método publico Remove Removes the specified DataItem from the collection.
Método publico RemoveAt Removes the DataItem at the specified index from the collection. This class cannot be inherited.
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of DataItem objects contained in the collection.
Propiedad pública Item Gets the DataItem at the specified index from the collection.

Principio