Initializes a new instance of the BuildElementCollectionAttribute with the specified name and child element name.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | childName is a null reference (Nothing in Visual Basic). |
| ArgumentOutOfRangeException | childName is a zero-length String. |
BuildElementCollectionAttribute Class | NAnt.Core.Attributes Namespace