WatcherRenamed Event

Summary

Occurs when a file or directory in the specified Path is renamed.

Syntax

C#
C++/CLI
C++
public event RenamedEventHandler WatcherRenamed 
public: 
event RenamedEventHandler^ WatcherRenamed 
public:  
   event RenamedEventHandler^ WatcherRenamed 

Event Data

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

PropertyDescription
ChangeType (Inherited from System.IO.FileSystemEventArgs)Gets the type of directory event that occurred.
FullPath (Inherited from System.IO.FileSystemEventArgs)Gets the fully qualifed path of the affected file or directory.
Name (Inherited from System.IO.FileSystemEventArgs)Gets the name of the affected file or directory.
OldFullPath Gets the previous fully qualified path of the affected file or directory.
OldName Gets the old name of the affected file or directory.

Remarks

Renaming the directory you are watching will not raise a notification. Notifications are only raised for entries inside the directory you are watching.

Requirements

Target Platforms

See Also

Reference

RasterThumbnailBrowser Class

RasterThumbnailBrowser Members

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.