'Declaration Public Overloads Sub CopyItemsTo( _ ByVal events As FileSystemEvents, _ ByVal userData As Object, _ ByVal destinationFolder As AbstractFolder, _ ByVal recursive As Boolean, _ ByVal includeFolders As Boolean, _ ByVal replaceExistingFiles As Boolean, _ ByVal 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 includeFolders As Boolean Dim replaceExistingFiles As Boolean Dim filters() As Object instance.CopyItemsTo(events, userData, destinationFolder, recursive, includeFolders, replaceExistingFiles, filters)
public void CopyItemsTo( FileSystemEvents events, object userData, AbstractFolder destinationFolder, bool recursive, bool includeFolders, bool replaceExistingFiles, 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 null.
- 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.
- includeFolders
- true if empty subfolders should be included in the copy operation; false otherwise.
- 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.