NAnt SDK Documentation - v0.92

BuildElementAttribute Constructor 

Initializes a new instance of the BuildElementAttribute with the specified name.

[Visual Basic]
Public Sub New( _
   ByVal name As String _
)
[C#]
public BuildElementAttribute(
   string name
);

Parameters

name
The name of the attribute.

Exceptions

Exception Type Condition
ArgumentNullException name is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeException name is a zero-length String.

See Also

BuildElementAttribute Class | NAnt.Core.Attributes Namespace