CalculationPropertyCollection.Item Propiedad (String)
Gets the CalculationProperty with the specified identifier from the collection.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- calculationReference
Tipo: System.String
The identifier of the CalculationProperty to be returned.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.CalculationProperty
The CalculationProperty specified by the identifier.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | calculationReference is a null reference (Nothing in Visual Basic). |
ItemNotFoundException | calculationReference does not exist in the collection. |