NAnt SDK Documentation - v0.92 |

# CompilerWarningCollection.Add Method

Adds a CompilerWarning to the end of the collection.

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

#### Parameters

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

#### Return Value

The position into which the new element was inserted.

#### See Also

CompilerWarningCollection Class | NAnt.DotNet.Types Namespace