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


Свойство ModelComponentCollection.Item

Gets the IModelComponent at the specified index.

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

Синтаксис

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

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

Параметры

  • index
    Тип: System.Int32
    The zero-based index of the [Microsoft.DataWarehouse.IModelComponent] to get.

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

Тип: Microsoft.AnalysisServices.IModelComponent
The [Microsoft.DataWarehouse.IModelComponent] at the specified index.

Исключения

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

index is less than zero.

-or-

index is equal to or greater than Count.

Замечания

This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].

См. также

Справочник

ModelComponentCollection Класс

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