LibraryCollection.

IndexOf(Library) Method

Summary

Retrieves the index of a specified NAnt.VisualCpp.Types.Library object in the collection.
Assembly
NAnt.VisualCpp.dll
Namespace
NAnt.VisualCpp.Types
Containing Type
LibraryCollection

Syntax

public int IndexOf(Library item)

Parameters

Name Type Description
item Library The NAnt.VisualCpp.Types.Library object for which the index is returned.

Return Value

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