NAnt SDK Documentation - v0.92

CopyTask.FileCopyMap Property

NOTE: This property is now obsolete.

FileCopyMap is now considered a readonly hashtable. To interact with file operation, use the OperationMap property


The set of files to perform a file operation on.

[Visual Basic]
<Obsolete(Message:="FileCopyMap is now considered a readonly hashtable. To interact with file operation, use the OperationMap property", IsError:=False)>
Protected ReadOnly Property FileCopyMap As Hashtable
[C#]
[Obsolete(Message="FileCopyMap is now considered a readonly hashtable. To interact with file operation, use the OperationMap property", IsError=False)]
protected System.Collections.Hashtable FileCopyMap {get;}

Remarks

FileCopyMap should now be considered a readonly hashtable. Any changes to this property will not be taken into account during the file operation task. To interact with the file operation, use the OperationMap property.

The key of the Hashtable is the absolute path of the destination file and the value is a CopyTask.FileDateInfo holding the path and last write time of the most recently updated source file that is selected to be copied or moved to the destination file.

On Windows, the Hashtable is case-insensitive.

See Also

CopyTask Class | NAnt.Core.Tasks Namespace