DataItemCollection Class
TOC
Collapse the table of content
Expand the table of content

DataItemCollection Class

 

Updated: May 16, 2016

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

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

System.Object
  Microsoft.AnalysisServices.DataItemCollection

[GuidAttribute("289E8AED-7BE3-4220-B096-5FF2E81986A7")]
public sealed class DataItemCollection : IList, ICollection, 
	IEnumerable

NameDescription
System_CAPS_pubpropertyCount

Gets the number of DataItem objects contained in the collection.

System_CAPS_pubpropertyItem[Int32]

Gets the DataItem at the specified index from the collection.

NameDescription
System_CAPS_pubmethodAdd(DataItem)

Adds a DataItem to the end of the collection.

System_CAPS_pubmethodAdd(String, String)

Creates and adds a DataItem, with the specified table name and column name, to the end of the collection.

System_CAPS_pubmethodAdd(String, String, OleDbType)

Creates and adds a DataItem, with the specified table name, column name, and data type, to the end of the collection.

System_CAPS_pubmethodAdd(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.

System_CAPS_pubmethodClear()

Removes all elements from the collection. This class cannot be inherited.

System_CAPS_pubmethodContains(DataItem)

Indicates whether the collection contains a specified DataItem.

System_CAPS_pubmethodCopyTo(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.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(DataItem)

Gets the index of a specified DataItem.

System_CAPS_pubmethodInsert(Int32, DataItem)

Inserts a DataItem into the collection at the specified index.

System_CAPS_pubmethodRemove(DataItem)

Removes the specified DataItem from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the DataItem at the specified index from the collection. This class cannot be inherited.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Indicates whether the collection contains a specific value.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specified object from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

Gets a value that indicates whether access to the DataItemCollection is synchronized.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

Gets an object that can be used to synchronize access to the DataItemCollection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsFixedSize

Gets a value that indicates whether the collection has a fixed size.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsReadOnly

Gets a value that indicates whether this DataItemCollection is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item[Int32]

Gets or sets the element at the specified index.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft