NAnt SDK Documentation - v0.92 |

# NamespaceImportCollection.Add Method

Adds a NamespaceImport to the end of the collection.

[Visual Basic]
<BuildElement(Name:="import", Required:=False, ProcessXml:=True)>
Public Function Add( _
ByVal value As NamespaceImport _
) As Integer
[C#]
[BuildElement(Name="import", Required=False, ProcessXml=True)]
public int Add(
NamespaceImport value
);

#### Parameters

value
  The NamespaceImport to be added to the end of the collection.

#### Return Value

The position into which the new item was inserted.

#### See Also

NamespaceImportCollection Class | NAnt.DotNet.Types Namespace