Xceed .NET Libraries Documentation
Xceed.FileSystem Assembly / Xceed.FileSystem Namespace / FileSystemEvents Class / ByteProgression Event


In This Topic
    ByteProgression Event (FileSystemEvents)
    In This Topic
    Raised for every 64k of bytes processed when a FileSystemItem object is being processed.
    Syntax
    'Declaration
     
    Public Event ByteProgression As ByteProgressionEventHandler
    'Usage
     
    Dim instance As FileSystemEvents
    Dim handler As ByteProgressionEventHandler
     
    AddHandler instance.ByteProgression, handler
    public event ByteProgressionEventHandler ByteProgression
    Event Data

    The event handler receives an argument of type ByteProgressionEventArgs containing data related to this event. The following ByteProgressionEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the total combined size, in bytes, of all files being processed.  
    Gets the size, in bytes, of the file currently being processed.  
    Gets or sets the current FileSystemItem object being processed. (Inherited from Xceed.FileSystem.FileSystemEventArgs)
    Gets or sets the destination FileSystemItem object. (Inherited from Xceed.FileSystem.FileSystemEventArgs)
    Gets or sets the opaque data that will be sent back to the event handler whenever an event is raised. (Inherited from Xceed.FileSystem.FileSystemEventArgs)
    Remarks
    In the event where the total size is unknown, the amount of processed bytes will be incremented during the read process, the total bytes will always be zero, and the percent will always by 100.
    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