Xceed .NET Libraries Documentation
DoCopyToLoop Method


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > AbstractFile Class : DoCopyToLoop Method
Syntax
'Declaration
 
Public Sub DoCopyToLoop( _

   ByVal session As FileSystemEventsSession, _

   ByVal destination As FileSystemItem, _

   ByVal replaceExistingFiles As Boolean, _

   ByVal sourceStream As Stream, _

   ByVal destinationFile As AbstractFile, _

   ByVal destinationStream As Stream, _

   ByVal created As Boolean, _

   ByVal buffer() As Byte, _

   ByVal bufferOffset As Integer, _

   ByVal bufferSize As Integer, _

   ByVal byteProgressionEventArgs As ByteProgressionEventArgs, _

   ByVal throwException As Boolean, _

   ByRef exception As Exception, _

   ByVal multiThreadItem As IMultiThreadItem _

) 
'Usage
 
Dim instance As AbstractFile

Dim session As FileSystemEventsSession

Dim destination As FileSystemItem

Dim replaceExistingFiles As Boolean

Dim sourceStream As Stream

Dim destinationFile As AbstractFile

Dim destinationStream As Stream

Dim created As Boolean

Dim buffer() As Byte

Dim bufferOffset As Integer

Dim bufferSize As Integer

Dim byteProgressionEventArgs As ByteProgressionEventArgs

Dim throwException As Boolean

Dim exception As Exception

Dim multiThreadItem As IMultiThreadItem

 

instance.DoCopyToLoop(session, destination, replaceExistingFiles, sourceStream, destinationFile, destinationStream, created, buffer, bufferOffset, bufferSize, byteProgressionEventArgs, throwException, exception, multiThreadItem)

Parameters

session
destination
replaceExistingFiles
sourceStream
destinationFile
destinationStream
created
buffer
bufferOffset
bufferSize
byteProgressionEventArgs
throwException
exception
multiThreadItem
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

AbstractFile Class
AbstractFile Members