'DeclarationPublic Event ByteProgression As ByteProgressionEventHandler
'UsageDim 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.
| Property | Description |
|---|---|
| AllFilesBytes | Gets the total combined size, in bytes, of all files being processed. |
| CurrentFileBytes | Gets the size, in bytes, of the file currently being processed. |
| CurrentItem | Gets or sets the current FileSystemItem object being processed. (Inherited from Xceed.FileSystem.FileSystemEventArgs) |
| TargetItem | Gets or sets the destination FileSystemItem object. (Inherited from Xceed.FileSystem.FileSystemEventArgs) |
| UserData | 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.
Supported Frameworks
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Standard: netstandard2.0, netstandard2.1
.NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.
See Also