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


Метод HierarchyCollection.IndexOf (Hierarchy)

Gets the index of a specified Hierarchy.

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

Синтаксис

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

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

Параметры

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

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

См. также

Справочник

HierarchyCollection Класс

Перегрузка IndexOf

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