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

CompilerWarningCollection.IndexOf Method 

[This is preliminary documentation and subject to change.]

Retrieves the index of a specified CompilerWarning object in the collection.

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

Parameters

item
The CompilerWarning object for which the index is returned.

Return Value

The index of the specified CompilerWarning. If the CompilerWarning is not currently a member of the collection, it returns -1.

Remarks

Missing <remarks> documentation for M:NAnt.DotNet.Types.CompilerWarningCollection.IndexOf(NAnt.DotNet.Types.CompilerWarning)

See Also

CompilerWarningCollection Class | NAnt.DotNet.Types Namespace