Метод PerspectiveDimensionCollection.IndexOf (PerspectiveDimension)
Gets the index of a specified PerspectiveDimension.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public Function IndexOf ( _
item As PerspectiveDimension _
) As Integer
'Применение
Dim instance As PerspectiveDimensionCollection
Dim item As PerspectiveDimension
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
PerspectiveDimension item
)
public:
int IndexOf(
PerspectiveDimension^ item
)
member IndexOf :
item:PerspectiveDimension -> int
public function IndexOf(
item : PerspectiveDimension
) : int
Параметры
- item
Тип: Microsoft.AnalysisServices.PerspectiveDimension
The PerspectiveDimension to return.
Возвращаемое значение
Тип: System.Int32
The zero-based index of the PerspectiveDimension if the object is found; otherwise, -1.