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