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