Xceed .NET Libraries Documentation
AddingItemToProcess Event


Xceed.FileSystem Assembly > Xceed.FileSystem Namespace > FileSystemEvents Class : AddingItemToProcess Event
Raised every time a FileSystemItem object is about to be added to the list of items to be processed, providing information to the event handler and optional actions to be taken.
Syntax
'Declaration
 
Public Event AddingItemToProcess As ItemProcessingEventHandler
'Usage
 
Dim instance As FileSystemEvents
Dim handler As ItemProcessingEventHandler
 
AddHandler instance.AddingItemToProcess, handler
public event ItemProcessingEventHandler AddingItemToProcess
Event Data

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

PropertyDescription
Gets or sets the current FileSystemItem object being processed. (Inherited from Xceed.FileSystem.FileSystemEventArgs)
Gets or sets a Boolean value that indicates whether the item pair should be excluded from the processing list or not. Default: False  
Gets or sets the destination FileSystemItem object. (Inherited from )
Gets or sets the opaque data that will be sent back to the event handler whenever an event is raised. (Inherited from )
Example
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