Add Método (DataItem)
Adds a DataItem to the end of the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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
- item
Tipo: Microsoft.AnalysisServices. . :: . .DataItem
The DataItem to be added.
Valor devuelto
Tipo: System. . :: . .Int32
The zero-based index at which the DataItem has been added.
Vea también