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


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

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

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

Синтаксис

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

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

Параметры

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

Тип: Microsoft.AnalysisServices. . :: . .PerspectiveCalculation
A PerspectiveCalculation specified by the identifier.

Исключения

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

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

ItemNotFoundException

name does not exist in the collection.