Compartilhar via


Propriedade do RDL CalculationPropertyCollection.Item (String)

Gets the CalculationProperty with the specified identifier from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    calculationReference As String _
) As CalculationProperty 
    Get
'Uso
Dim instance As CalculationPropertyCollection 
Dim calculationReference As String 
Dim value As CalculationProperty 

value = instance(calculationReference)
public CalculationProperty this[
    string calculationReference
] { get; }
public:
property CalculationProperty^ default[String^ calculationReference] {
    CalculationProperty^ get (String^ calculationReference);
}
member Item : CalculationProperty
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.AnalysisServices.CalculationProperty
The CalculationProperty specified by the identifier.

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

calculationReference does not exist in the collection.

Consulte também

Referência

CalculationPropertyCollection Classe

Sobrecarregado Item

Namespace Microsoft.AnalysisServices