'Declaration Public Overloads Sub CopyFilesTo( _ ByVal events As FileSystemEvents, _ ByVal userData As Object, _ ByVal destinationFolder As AbstractFolder, _ ByVal recursive As Boolean, _ ByVal replaceExistingFiles As Boolean, _ ByVal ParamArray filters() As Object _ )
'Usage Dim instance As AbstractFolder Dim events As FileSystemEvents Dim userData As Object Dim destinationFolder As AbstractFolder Dim recursive As Boolean Dim replaceExistingFiles As Boolean Dim filters() As Object instance.CopyFilesTo(events, userData, destinationFolder, recursive, replaceExistingFiles, filters)
public void CopyFilesTo( FileSystemEvents events, object userData, AbstractFolder destinationFolder, bool recursive, bool replaceExistingFiles, params object[] filters )
Parameters
- events
- A FileSystemEvents object that will be used to raise events. Cannot be a null reference (Nothing in Visual Basic).
- userData
- Opaque data that will be passed back to the event handler when an event is raised.
- destinationFolder
- An AbstractFolder object into which the folder's content must be copied. Cannot be a null reference (Nothing in Visual Basic).
- recursive
- true if the content of the folders contained in the subfolders should be copied; false if only the current folder's content should be copied.
- replaceExistingFiles
- true if existing files in the destination should be replaced; false otherwise.
- filters
- An array of objects that can be used to filter the items to be copied.