LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
WatcherChanged Event
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : WatcherChanged Event



Occurs when a file in the specified Path is changed or added

Syntax

Visual Basic (Declaration) 
Public Event WatcherChanged As FileSystemEventHandler
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowser
Dim handler As FileSystemEventHandler
 
AddHandler instance.WatcherChanged, handler
C# 
public event FileSystemEventHandler WatcherChanged
C++/CLI 
public:
event FileSystemEventHandler^ WatcherChanged

Event Data

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

PropertyDescription
ChangeType Gets the type of directory event that occurred.
FullPath Gets the fully qualifed path of the affected file or directory.
Name Gets the name of the affected file or directory.

Remarks

The Changed event is raised when changes are made to the size, system attributes, last write time, last access time, or security permissions of a file or directory in the directory being monitored.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also