WebMapCollection.

IndexOf(WebMap) Method

Summary

Retrieves the index of a specified NAnt.VSNet.Types.WebMap object in the collection.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet.Types
Containing Type
WebMapCollection

Syntax

public int IndexOf(WebMap item)

Parameters

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

Return Value

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