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


Метод AggregationAttributeCollection.IndexOf (AggregationAttribute)

Gets the index of a specified AggregationAttribute.

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

Синтаксис

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

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

Параметры

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

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

См. также

Справочник

AggregationAttributeCollection Класс

Перегрузка IndexOf

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