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
entity
Type : Microsoft.Office.Project.Server.Library.EntityEntité spécifiée à partir de EntityCollection.Entities.
Valeur renvoyée
Type : System.Int32