Metodo Add (DataItem)

Adds a DataItem to the end of the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    item As DataItem _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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