NAnt SDK Documentation - v0.92 |

# CommandLineArgumentAttribute Constructor

Initializes a new instance of the CommandLineArgumentAttribute class with the specified argument type.

[Visual Basic]
Public Sub New( _
ByVal argumentType As CommandLineArgumentTypes _
)
[C#]
public CommandLineArgumentAttribute(
CommandLineArgumentTypes argumentType
);

#### Parameters

argumentType
  Specifies the checking to be done on the argument.

#### See Also

CommandLineArgumentAttribute Class | NAnt.Core.Util Namespace