Compartilhar via


Propriedade do RDL Item (String)

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

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

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    measureId As String _
) As PerspectiveMeasure
    Get
'Uso
Dim instance As PerspectiveMeasureCollection
Dim measureId As String
Dim value As PerspectiveMeasure

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

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

measureID does not exist in the collection.