DataItemCollection.IndexOf Método
Gets the index of a specified DataItem.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function IndexOf ( _
item As DataItem _
) As Integer
'Uso
Dim instance As DataItemCollection
Dim item As DataItem
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
DataItem item
)
public:
int IndexOf(
DataItem^ item
)
member IndexOf :
item:DataItem -> int
public function IndexOf(
item : DataItem
) : int
Parámetros
- item
Tipo: Microsoft.AnalysisServices.DataItem
The DataItem to be returned.
Valor devuelto
Tipo: System.Int32
The zero-based index of the DataItem if the object is found; otherwise, -1.