Свойство Item (Int32)
Gets the MeasureGroupAttribute at the specified index from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
index As Integer _
) As MeasureGroupAttribute
Get
'Применение
Dim instance As MeasureGroupAttributeCollection
Dim index As Integer
Dim value As MeasureGroupAttribute
value = instance(index)
public MeasureGroupAttribute this[
int index
] { get; }
public:
property MeasureGroupAttribute^ default[int index] {
MeasureGroupAttribute^ get (int index);
}
member Item : MeasureGroupAttribute
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- index
Тип: System. . :: . .Int32
The zero-based index of the MeasureGroupAttribute to return.
Значение свойства
Тип: Microsoft.AnalysisServices. . :: . .MeasureGroupAttribute
The MeasureGroupAttribute at the specified index.
Исключения
Исключение | Условие |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |