Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / AbstractFolder Class / DoCopyTo Method
A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
An FileSystemItem object into which the folder will be copied. Cannot be a null reference (Nothing in Visual Basic).
true if existing items in the destination should be replaced; false otherwise.


In This Topic
    DoCopyTo Method (AbstractFolder)
    In This Topic
    Copies the folder to another folder.
    Syntax
    'Declaration
     
    Protected Overrides Sub DoCopyTo( _
       ByVal session As FileSystemEventsSession, _
       ByVal destination As FileSystemItem, _
       ByVal replaceExistingFiles As Boolean _
    ) 
    'Usage
     
    Dim instance As AbstractFolder
    Dim session As FileSystemEventsSession
    Dim destination As FileSystemItem
    Dim replaceExistingFiles As Boolean
     
    instance.DoCopyTo(session, destination, replaceExistingFiles)
    protected override void DoCopyTo( 
       FileSystemEventsSession session,
       FileSystemItem destination,
       bool replaceExistingFiles
    )

    Parameters

    session
    A reference to a FileSystemEventsSession object which is responsible for raising all events that occur during the process.
    destination
    An FileSystemItem object into which the folder will be copied. Cannot be a null reference (Nothing in Visual Basic).
    replaceExistingFiles
    true if existing items in the destination should be replaced; false otherwise.
    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