EntityCollection.IndexOf Method
Gets the index of a specified entity.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Function IndexOf ( _
entity As Entity _
) As Integer
'Usage
Dim instance As EntityCollection
Dim entity As Entity
Dim returnValue As Integer
returnValue = instance.IndexOf(entity)
public int IndexOf(
Entity entity
)
Parameters
- entity
Type: Microsoft.Office.Project.Server.Library.Entity
Specified entity from EntityCollection.Entities.
Return Value
Type: System.Int32