NAnt SDK Documentation - v0.92 |

# NamespaceImport Constructor (String)

Initializes a new instance of the NamespaceImport class for the specified namespace.

[Visual Basic]
Overloads Public Sub New( _
ByVal nameSpace As String _
)
[C#]
public NamespaceImport(
string nameSpace
);

#### Parameters

nameSpace
  The namespace.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentNullException | nameSpace is a null reference (Nothing in Visual Basic).

#### See Also

NamespaceImport Class | NAnt.DotNet.Types Namespace | NamespaceImport Constructor Overload List