NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileSystemWatcher.OnRenamed

Raises the System.IO.FileSystemWatcher.Renamed event.

[Visual Basic]
Overridable Protected Sub OnRenamed( _
   ByVal e As RenamedEventArgs _
)
[C#]
protected virtual void OnRenamed(
   RenamedEventArgs e
);
[C++]
protected: virtual void OnRenamed(
   RenamedEventArgs* e
);
[JScript]
protected function OnRenamed(
   e : RenamedEventArgs
);

Parameters

e
A RenamedEventArgs that contains the event data.

Remarks

OnRenamed is called when a file or directory within the directory being monitored is renamed.

Raising an event invokes the event-handling method through a delegate. For more information, see TBD.

Notes to Inheritors: When overriding OnRenamed in a derived class, be sure to call the base class's OnRenamed method.

See Also

FileSystemWatcher Class | FileSystemWatcher Members | System.IO Namespace | System.IO.FileSystemWatcher.Renamed | RenamedEventArgs | RenamedEventHandler