OptionCollection.

Add(Option) Method

Summary

Adds a NAnt.Core.Types.Option to the end of the collection.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
OptionCollection

Syntax

public int Add(Option item)

Parameters

Name Type Description
item Option The NAnt.Core.Types.Option to be added to the end of the collection.

Return Value

Type Description
int The position into which the new element was inserted.