ProjectEntryCollection.

IndexOf(ProjectEntry) Method

Summary

Retrieves the index of a specified NAnt.VSNet.ProjectEntry object in the collection.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet
Containing Type
ProjectEntryCollection

Syntax

public int IndexOf(ProjectEntry item)

Parameters

Name Type Description
item ProjectEntry The NAnt.VSNet.ProjectEntry object for which the index is returned.

Return Value

Type Description
int The index of the specified NAnt.VSNet.ProjectEntry. If the NAnt.VSNet.ProjectEntry is not currently a member of the collection, it returns -1.