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