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