Proprietà PerspectiveCalculationCollection.Item (String)
Gets the PerspectiveCalculation that has the specified identifier from the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As PerspectiveCalculation
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
The identifier of the PerspectiveCalculation to return.
Valore proprietà
Tipo: Microsoft.AnalysisServices.PerspectiveCalculation
A PerspectiveCalculation specified by the identifier.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | name is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | name does not exist in the collection. |