Export (0) Print
Expand All

DataItemCollection Class

 

Applies To: SQL Server 2016 Preview

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")]
[DefaultMemberAttribute("Item")]
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.

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft