Xceed .NET Libraries Documentation
ListCopyTo Method (FileSystemItem)


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > FileSystemItem Class : ListCopyTo Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
true if existing items in the destination should be replaced; false otherwise.
Copies each item in the FileSystemEventsSession object's list to each item's destination.
Syntax
'Declaration
 
Protected Overridable Function ListCopyTo( _

   ByVal session As FileSystemEventsSession, _

   ByVal replaceExistingFiles As Boolean _

) As FileSystemItem
'Usage
 
Dim instance As FileSystemItem

Dim session As FileSystemEventsSession

Dim replaceExistingFiles As Boolean

Dim value As FileSystemItem

 

value = instance.ListCopyTo(session, replaceExistingFiles)
protected virtual FileSystemItem ListCopyTo( 

   FileSystemEventsSession session,

   bool replaceExistingFiles

)

Parameters

session
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
replaceExistingFiles
true if existing items in the destination should be replaced; false otherwise.

Return Value

A reference to a FileSystemItem object representing the target item of the firstItemPair.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FileSystemItem Class
FileSystemItem Members