Méthode IndexOf (Level)
Gets the index of a specified Level.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As Level _
) As Integer
'Utilisation
Dim instance As LevelCollection
Dim item As Level
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Level item
)
public:
int IndexOf(
Level^ item
)
member IndexOf :
item:Level -> int
public function IndexOf(
item : Level
) : int
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .Level
The Level to be returned.
Valeur de retour
Type : System. . :: . .Int32
The zero-based index of the Level if the object is found; otherwise, -1.
Voir aussi