NAnt SDK Documentation - v0.92 |

# PackageCollection.Contains Method

Determines whether a Package is in the collection.

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

#### Parameters

item
  The Package to locate in the collection.

#### Return Value

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

#### See Also

PackageCollection Class | NAnt.DotNet.Types Namespace