Partager via


IndexOf méthode (AggregationDesignDimension)

Gets the index of a specified AggregationDesignDimension.

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

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As AggregationDesignDimension _
) As Integer
'Utilisation
Dim instance As AggregationDesignDimensionCollection
Dim item As AggregationDesignDimension
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    AggregationDesignDimension item
)
public:
int IndexOf(
    AggregationDesignDimension^ item
)
member IndexOf : 
        item:AggregationDesignDimension -> int 
public function IndexOf(
    item : AggregationDesignDimension
) : int

Valeur de retour

Type : System. . :: . .Int32
The zero-based index of the AggregationDesignDimension, if the object is found; otherwise, -1.