NamespaceImportCollection.

IndexOf(NamespaceImport) Method

Summary

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

Syntax

public int IndexOf(NamespaceImport value)

Remarks

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

Parameters

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

Return Value

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