An NSFileManager object sends this message immediately before attempting to delete an item at a given URL.
Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldRemoveItemAtURL:(NSURL *)URL'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
public delegate bool FileManagerShouldRemoveItemAtURLEventHandler( NSFileManager fileManager, NSURL URL )
Public Delegate Function FileManagerShouldRemoveItemAtURLEventHandler ( _ fileManager As NSFileManager, _ URL As NSURL _ ) As Boolean
public delegate bool FileManagerShouldRemoveItemAtURLEventHandler( NSFileManager^ fileManager, NSURL^ URL )

- fileManager (NSFileManager)
- The NSFileManager object that sent this message.
- URL (NSURL)
- The URL or a file or directory that fileManager is about to attempt to delete.

YES if the operation should proceed, otherwise NO.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)