NAnt SDK Documentation - v0.92

FunctionAttribute Constructor 

Initializes a new instance of the FunctionAttribute class with the specified name.

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

Parameters

name
The name of the function.

Exceptions

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

See Also

FunctionAttribute Class | NAnt.Core.Attributes Namespace