DataItemCollection DataItemCollection 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
type DataItemCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class DataItemCollection
Implements IList
Inheritance
DataItemCollectionDataItemCollectionDataItemCollection
Attributes
Implements

Properties

Count Count Count

Gets the number of elements contained in the collection.

Item[Int32] Item[Int32] Item[Int32]

Gets or sets the element at the specified index.

Methods

Add(DataItem) Add(DataItem) Add(DataItem)

Adds the specified DataItem to this collection.

Add(String, String) Add(String, String) Add(String, String)

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

Add(String, String, OleDbType) Add(String, String, OleDbType) Add(String, String, OleDbType)

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

Add(String, String, OleDbType, Int32) Add(String, String, OleDbType, Int32) Add(String, String, OleDbType, Int32)

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

Clear() Clear() Clear()

Removes all items from the collection.

Contains(DataItem) Contains(DataItem) Contains(DataItem)

Determines whether the specified DataItem is in the collection.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

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

IndexOf(DataItem) IndexOf(DataItem) IndexOf(DataItem)

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

Insert(Int32, DataItem) Insert(Int32, DataItem) Insert(Int32, DataItem)

Inserts a DataItem into this collection at the specified index.

Remove(DataItem) Remove(DataItem) Remove(DataItem)

Removes the specified DataItem from this collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the DataItem at the specified index.

Explicit Interface Implementations

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

Applies to