ProjectBaseCollection.

IndexOf(ProjectBase) Method

Summary

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

Syntax

public int IndexOf(ProjectBase item)

Parameters

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

Return Value

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