NAnt SDK Documentation - v0.92 |

# CommandLineArgumentCollection.Contains Method

Determines whether a CommandLineArgument is in the collection.

[Visual Basic]
Public Function Contains( _
ByVal item As CommandLineArgument _
) As Boolean
[C#]
public bool Contains(
CommandLineArgument item
);

#### Parameters

item
  The CommandLineArgument to locate in the collection.

#### Return Value

true if item is found in the collection; otherwise, false.

#### See Also

CommandLineArgumentCollection Class | NAnt.Core.Util Namespace