SymbolCollection.

IndexOf(Symbol) Method

Summary

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

Syntax

public int IndexOf(Symbol item)

Parameters

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

Return Value

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