NAnt SDK Documentation - v0.92 |

# CopyTask.FileOperation Constructor

Initializes a new instance of the CopyTask.FileOperation class with the source and target locations specified.

[Visual Basic]
Public Sub New( _
ByVal source As FileSystemInfo, _
ByVal target As FileSystemInfo _
)
[C#]
public CopyTask.FileOperation(
FileSystemInfo source,
FileSystemInfo target
);

#### Parameters

source
  A FileSystemInfo object representing the file/location where the file operation will start.
target
  A FileSystemInfo object representing the file/location where the file operation will end.

#### See Also

CopyTask.FileOperation Class | NAnt.Core.Tasks Namespace