An NSFileManager object sends this message if an error occurs during an attempt to move to a given path.
Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error movingItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate bool FileManagerShouldProceedAfterErrorMovingItemAtPathToPathEventHandler( NSFileManager fileManager, NSError error, NSString srcPath, NSString dstPath )
Public Delegate Function FileManagerShouldProceedAfterErrorMovingItemAtPathToPathEventHandler ( _ fileManager As NSFileManager, _ error As NSError, _ srcPath As NSString, _ dstPath As NSString _ ) As Boolean
public delegate bool FileManagerShouldProceedAfterErrorMovingItemAtPathToPathEventHandler( NSFileManager^ fileManager, NSError^ error, NSString^ srcPath, NSString^ dstPath )
Parameters
- fileManager (NSFileManager)
- The NSFileManager object that sent this message.
- error (NSError)
- The error that occurred during the attempt to move.
- srcPath (NSString)
- The path or a file or directory that fileManager is attempting to move.
- dstPath (NSString)
- The path or a file or directory to which fileManager is attempting to move.
Return Value
YES if the operation should proceed, otherwise NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)