Compartilhar via


Propriedade do RDL Item (String)

Gets the MeasureGroupDimension 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 ( _
    cubeDimensionId As String _
) As MeasureGroupDimension
    Get
'Uso
Dim instance As MeasureGroupDimensionCollection
Dim cubeDimensionId As String
Dim value As MeasureGroupDimension

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

Parâmetros

Valor da propriedade

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

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

cubeDimensionID does not exist in the collection.