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)


Public Function IndexOf ( _
    entity As Entity _
) As Integer
Dim instance As EntityCollection
Dim entity As Entity
Dim returnValue As Integer

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


Return Value

Type: System.Int32
Index number of the specified entity.

See Also


EntityCollection Class

EntityCollection Members

Microsoft.Office.Project.Server.Library Namespace