NAnt SDK Documentation - v0.92

FileUtils.MoveFile Method 

Moves a file filtering its content through the filter chain.

[Visual Basic]
Public Shared Sub MoveFile( _
   ByVal sourceFileName As String, _
   ByVal destFileName As String, _
   ByVal filterChain As FilterChain, _
   ByVal inputEncoding As Encoding, _
   ByVal outputEncoding As Encoding _
)
[C#]
public static void MoveFile(
   string sourceFileName,
   string destFileName,
   FilterChain filterChain,
   Encoding inputEncoding,
   Encoding outputEncoding
);

Parameters

sourceFileName
The file to move.
destFileName
The file to move move to.
filterChain
Chain of filters to apply when moving, or a null reference (Nothing in Visual Basic) is no filters should be applied.
inputEncoding
The encoding used to read the soure file.
outputEncoding
The encoding used to write the destination file.

See Also

FileUtils Class | NAnt.Core.Util Namespace