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


Метод DataSourceViewCollection.IndexOf (DataSourceView)

Gets the index of a specified DataSourceView.

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

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As DataSourceView _
) As Integer
'Применение
Dim instance As DataSourceViewCollection 
Dim item As DataSourceView 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    DataSourceView item
)
public:
int IndexOf(
    DataSourceView^ item
)
member IndexOf : 
        item:DataSourceView -> int
public function IndexOf(
    item : DataSourceView
) : int

Параметры

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

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

См. также

Справочник

DataSourceViewCollection Класс

Перегрузка IndexOf

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