NAnt SDK Documentation - v0.92 |

# PackageCollection.Add Method

Adds a Package to the end of the collection.

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

#### Parameters

item
  The Package to be added to the end of the collection.

#### Return Value

The position into which the new element was inserted.

#### See Also

PackageCollection Class | NAnt.DotNet.Types Namespace