'Declaration Protected Overridable Function GetStreamBufferSize( _ ByVal session As FileSystemEventsSession, _ ByVal sourceStream As Stream, _ ByVal destinationStream As Stream, _ ByVal destinationFile As FileSystemItem _ ) As Integer
'Usage Dim instance As AbstractFile Dim session As FileSystemEventsSession Dim sourceStream As Stream Dim destinationStream As Stream Dim destinationFile As FileSystemItem Dim value As Integer value = instance.GetStreamBufferSize(session, sourceStream, destinationStream, destinationFile)
protected virtual int GetStreamBufferSize( FileSystemEventsSession session, Stream sourceStream, Stream destinationStream, FileSystemItem destinationFile )
Parameters
- session
A reference to a FileSystemEventsSession object that is responsible for raising all events that occur during the process.
Can be null.- sourceStream
- A Stream object from which data will be read. Can be null.
- destinationStream
A Stream object to which data will be written. Can be null.
- destinationFile
A FileSystemItem object into which the file will be copied. Can be null.