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