NamespaceImportCollection.

Add(NamespaceImport) Method

Summary

Adds a NAnt.DotNet.Types.NamespaceImport to the end of the collection.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
NamespaceImportCollection

Syntax

[BuildElement("import")]
public int Add(NamespaceImport value)

Attributes

Type Description
BuildElementAttribute Indicates that the property should be treated as an XML element and further processing should be done.

Parameters

Name Type Description
value NamespaceImport The NAnt.DotNet.Types.NamespaceImport to be added to the end of the collection.

Return Value

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