Called when the contents of the directory change.
Declaration Syntax
C# | Visual Basic | Visual C++ |
void DirectoryUpdated( ISubscription subscription, IDirectoryEvent ev )
Sub DirectoryUpdated ( _ subscription As ISubscription, _ ev As IDirectoryEvent _ )
void DirectoryUpdated( ISubscription^ subscription, IDirectoryEvent^ ev )
Parameters
- subscription (ISubscription)
- The subscription.
- ev (IDirectoryEvent)
- The event. This contains the changes to directory contents.
Remarks
You can determine which elements have been removed from the directory by querying the
RemovedElements property of the IDirectoryEvent
supplied in ev.
Similarly any newly added elements are recorded in the AddedElements
property of ev.