Metodo IndexOf
Gets the index of a specified Command.
Spazio dei nomi: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function IndexOf ( _
item As Command _
) As Integer
'Utilizzo
Dim instance As CommandCollection
Dim item As Command
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Command item
)
public:
int IndexOf(
Command^ item
)
member IndexOf :
item:Command -> int
public function IndexOf(
item : Command
) : int
Parametri
- item
Tipo: Microsoft.AnalysisServices. . :: . .Command
The Command to be returned.
Valore restituito
Tipo: System. . :: . .Int32
The zero-based index of the Command if the object is found; otherwise, -1.
Vedere anche