ToFile Property

NAnt SDK Documentation - v0.92 |

# CopyTask.ToFile Property

The file to copy to.

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

#### See Also

CopyTask Class | NAnt.Core.Tasks Namespace