Поделиться через


Метод CommandCollection.IndexOf

Gets the index of a specified Command.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As Command _
) As Integer
'Применение
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

Параметры

Возвращаемое значение

Тип: System.Int32
The zero-based index of the Command if the object is found; otherwise, -1.

См. также

Справочник

CommandCollection Класс

Пространство имен Microsoft.AnalysisServices