NAnt SDK Documentation - v0.85-nightly-2005-11-09

NamespaceImportCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

Gets the location of a NamespaceImport in the collection.

[Visual Basic]
Public Function IndexOf( _
   ByVal value As NamespaceImport _
) As Integer
[C#]
public int IndexOf(
   NamespaceImport value
);

Parameters

value
The NamespaceImport object to locate.

Return Value

The zero-based location of the NamespaceImport in the collection.

Remarks

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

See Also

NamespaceImportCollection Class | NAnt.DotNet.Types Namespace