Partilhar via


Propriedade Item (String)

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

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

Parâmetros

Valor da propriedade

Tipo: Microsoft.AnalysisServices. . :: . .AggregationDimension
The AggregationDimension 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.