DataItemCollection Members

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

The following tables list the members exposed by the DataItemCollection type.

Public Properties

  名称 Description
ms163118.pubproperty(zh-cn,SQL.90).gif Count Gets the number of DataItem objects contained in the collection.
ms163118.pubproperty(zh-cn,SQL.90).gif Item Gets the DataItem at the specified index from the collection.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms163118.pubmethod(zh-cn,SQL.90).gif Add Overloaded. Adds a DataItem to the collection.
ms163118.pubmethod(zh-cn,SQL.90).gif Clear Removes all elements from the collection. This class cannot be inherited.
ms163118.pubmethod(zh-cn,SQL.90).gif Contains Indicates whether the collection contains a specified DataItem.
ms163118.pubmethod(zh-cn,SQL.90).gif 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.
ms163118.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms163118.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms163118.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms163118.pubmethod(zh-cn,SQL.90).gif IndexOf Gets the index of a specified DataItem.
ms163118.pubmethod(zh-cn,SQL.90).gif Insert Inserts a DataItem into the collection at the specified index.
ms163118.pubmethod(zh-cn,SQL.90).gifms163118.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms163118.pubmethod(zh-cn,SQL.90).gif Remove Removes the specified DataItem from the collection.
ms163118.pubmethod(zh-cn,SQL.90).gif RemoveAt Removes the DataItem at the specified index from the collection. This class cannot be inherited.
ms163118.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms163118.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms163118.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Explicit Interface Implementations

  名称 Description
System.Collections.IEnumerable.GetEnumerator  
System.Collections.IList.Add  
System.Collections.IList.Contains  
System.Collections.IList.IndexOf  
System.Collections.IList.Insert  
System.Collections.IList.Remove  
System.Collections.ICollection.IsSynchronized  
System.Collections.ICollection.SyncRoot  
System.Collections.IList.IsFixedSize  
System.Collections.IList.IsReadOnly  
System.Collections.IList.Item  

顶部

请参阅

参考

DataItemCollection Class
Microsoft.AnalysisServices Namespace