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


Свойство Item (String)

Gets the PerspectiveMeasureGroup that has the specified identifier from the collection.

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

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    measureGroupId As String _
) As PerspectiveMeasureGroup
    Get
'Применение
Dim instance As PerspectiveMeasureGroupCollection
Dim measureGroupId As String
Dim value As PerspectiveMeasureGroup

value = instance(measureGroupId)
public PerspectiveMeasureGroup this[
    string measureGroupId
] { get; }
public:
property PerspectiveMeasureGroup^ default[String^ measureGroupId] {
    PerspectiveMeasureGroup^ get (String^ measureGroupId);
}
member Item : PerspectiveMeasureGroup
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

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

Тип: Microsoft.AnalysisServices. . :: . .PerspectiveMeasureGroup
The PerspectiveMeasureGroup specified by the identifier.

Исключения

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

measureGroupID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

measureGroupID does not exist in the collection.