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


Свойство Item (Int32)

Gets the Level at the specified index from the collection.

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

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    index As Integer _
) As Level
    Get
'Применение
Dim instance As LevelCollection
Dim index As Integer
Dim value As Level

value = instance(index)
public Level this[
    int index
] { get; }
public:
property Level^ default[int index] {
    Level^ get (int index);
}
member Item : Level
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип Microsoft.AnalysisServices. . :: . .Level
The Level at the specified index.

Исключения

Исключение Условие
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].