Propriété Item (String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    cubeDimensionId As String _
) As PerspectiveDimension
    Get
'Utilisation
Dim instance As PerspectiveDimensionCollection
Dim cubeDimensionId As String
Dim value As PerspectiveDimension

value = instance(cubeDimensionId)
public PerspectiveDimension this[
    string cubeDimensionId
] { get; }
public:
property PerspectiveDimension^ default[String^ cubeDimensionId] {
    PerspectiveDimension^ get (String^ cubeDimensionId);
}
member Item : PerspectiveDimension
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.AnalysisServices. . :: . .PerspectiveDimension
The PerspectiveDimension specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

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

ItemNotFoundException

cubeDimensionID does not exist in the collection.