Share via


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

Return value

Type: System.Int32

See also

Reference

EntityCollection class

EntityCollection members

Microsoft.Office.Project.Server.Library namespace