NAnt SDK Documentation - v0.92

Argument.File Property

The name of a file as a single command-line argument; will be replaced with the absolute filename of the file.

[Visual Basic]
<TaskAttribute(Required:=False, Name:="file", ExpandProperties:=True, ProcessXml:=True)>
Public Property File As FileInfo
[C#]
[TaskAttribute(Required=False, Name="file", ExpandProperties=True, ProcessXml=True)]
public System.IO.FileInfo File {get; set;}

See Also

Argument Class | NAnt.Core.Types Namespace