Méthode AnnotationCollection.IList.IndexOf
Determines the index of the specific item in the collection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'Utilisation
Dim instance As AnnotationCollection
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).IndexOf(value)
int IList.IndexOf(
Object value
)
private:
virtual int IndexOf(
Object^ value
) sealed = IList::IndexOf
private abstract IndexOf :
value:Object -> int
private override IndexOf :
value:Object -> int
JScript prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- value
Type : System.Object
The object to locate in the collection.
Valeur de retour
Type : System.Int32
The index of value in the collection, if found; otherwise, -1.