LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

WatcherRenamed Event






Occurs when a file or directory in the specified Path is renamed.
Syntax
public event RenamedEventHandler WatcherRenamed
'Declaration
 
Public Event WatcherRenamed As RenamedEventHandler
'Usage
 
Dim instance As RasterThumbnailBrowser
Dim handler As RenamedEventHandler
 
AddHandler instance.WatcherRenamed, handler
public event RenamedEventHandler WatcherRenamed
add_WatcherRenamed(function(sender, e))
remove_WatcherRenamed(function(sender, e))

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: 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

Reference

RasterThumbnailBrowser Class
RasterThumbnailBrowser Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.