Partager via


EntityCollection.IndexOf - Méthode

Obtient l'index d'une entité spécifiée.

Espace de noms :  Microsoft.Office.Project.Server.Library
Assembly :  Microsoft.Office.Project.Server.Library (dans Microsoft.Office.Project.Server.Library.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    entity As Entity _
) As Integer
'Utilisation
Dim instance As EntityCollection
Dim entity As Entity
Dim returnValue As Integer

returnValue = instance.IndexOf(entity)
public int IndexOf(
    Entity entity
)

Paramètres

Valeur renvoyée

Type : System.Int32

Voir aussi

Référence

EntityCollection classe

EntityCollection - Membres

Microsoft.Office.Project.Server.Library - Espace de noms