Partilhar via


Método Add (DataItem)

Adds a DataItem to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As DataItem _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Int32
The zero-based index at which the DataItem has been added.