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