DataItemCollection.Add Method (DataItem)
Adds a DataItem to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As DataItem _
) As Integer
'Usage
Dim instance As DataItemCollection
Dim item As DataItem
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
DataItem item
)
public:
int Add(
DataItem^ item
)
member Add :
item:DataItem -> int
public function Add(
item : DataItem
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.DataItem
The DataItem to be added.
Return Value
Type: System.Int32
The zero-based index at which the DataItem has been added.