ModuleCollection.

IndexOf(Module) Method

Summary

Gets the location of a NAnt.DotNet.Types.Module in the collection.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
ModuleCollection

Syntax

public int IndexOf(Module value)

Remarks

If the NAnt.DotNet.Types.Module is not currently a member of the collection, -1 is returned.

Parameters

Name Type Description
value Module The NAnt.DotNet.Types.Module object to locate.

Return Value

Type Description
int The zero-based location of the NAnt.DotNet.Types.Module in the collection.