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