Свойство Item (String)
Gets the Aggregation, with the specified identifier, from the collection.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
id As String _
) As Aggregation
Get
'Применение
Dim instance As AggregationCollection
Dim id As String
Dim value As Aggregation
value = instance(id)
public Aggregation this[
string id
] { get; }
public:
property Aggregation^ default[String^ id] {
Aggregation^ get (String^ id);
}
member Item : Aggregation
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- id
Тип System. . :: . .String
The identifier of the Aggregation to be returned.
Значение свойства
Тип Microsoft.AnalysisServices. . :: . .Aggregation
The Aggregation specified by the identifier.
Исключения
| Исключение | Условие |
|---|---|
| ArgumentNullException | id is a null reference (Nothing in Visual Basic). |
| ItemNotFoundException | id does not exist in the collection. |