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

C# | Visual Basic | Visual C++ |
public delegate bool FileManagerShouldRemoveItemAtPathEventHandler( NSFileManager fileManager, NSString path )
Public Delegate Function FileManagerShouldRemoveItemAtPathEventHandler ( _ fileManager As NSFileManager, _ path As NSString _ ) As Boolean
public delegate bool FileManagerShouldRemoveItemAtPathEventHandler( NSFileManager^ fileManager, NSString^ path )

- fileManager (NSFileManager)
- The NSFileManager object that sent this message.
- path (NSString)
- The path 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), 10.5 (For Mac OS X 10.5 and later)