Compartir a través de


DataItemCollection Class

Definition

Represents a collection of DataItem objects.

[System.Runtime.InteropServices.Guid("289E8AED-7BE3-4220-B096-5FF2E81986A7")]
public sealed class DataItemCollection : System.Collections.IList
[<System.Runtime.InteropServices.Guid("289E8AED-7BE3-4220-B096-5FF2E81986A7")>]
type DataItemCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class DataItemCollection
Implements IList
Inheritance
DataItemCollection
Attributes
Implements

Properties

Count

Gets the number of elements contained in the collection.

Item[Int32]

Gets or sets the element at the specified index.

Methods

Add(DataItem)

Adds the specified DataItem to this collection.

Add(String, String, DataType, Int32)

Creates, adds to collection and returns a new DataItem with a ColumnBinding Source.

Add(String, String, DataType)

Creates, adds to collection and returns a new DataItem with a ColumnBinding Source.

Add(String, String, OleDbType, Int32)

Creates, adds to collection and returns a new DataItem with a ColumnBinding Source.

Add(String, String, OleDbType)

Creates, adds to collection and returns a new DataItem with a ColumnBinding Source.

Add(String, String)

Creates, adds to collection and returns a new DataItem with a ColumnBinding Source.

Clear()

Removes all items from the collection.

Contains(DataItem)

Determines whether the specified DataItem is in the collection.

CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

IndexOf(DataItem)

Searches for the specified DataItem and returns its zero-based index within the collection.

Insert(Int32, DataItem)

Inserts a DataItem into this collection at the specified index.

Remove(DataItem)

Removes the specified DataItem from this collection.

RemoveAt(Int32)

Removes the DataItem at the specified index.

Explicit Interface Implementations

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)

Applies to