An NSFileManager object sends this message immediately before attempting to move to a given URL.
Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldMoveItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate bool FileManagerShouldMoveItemAtURLToURLEventHandler( NSFileManager fileManager, NSURL srcURL, NSURL dstURL )
Public Delegate Function FileManagerShouldMoveItemAtURLToURLEventHandler ( _ fileManager As NSFileManager, _ srcURL As NSURL, _ dstURL As NSURL _ ) As Boolean
public delegate bool FileManagerShouldMoveItemAtURLToURLEventHandler( NSFileManager^ fileManager, NSURL^ srcURL, NSURL^ dstURL )
Parameters
- fileManager (NSFileManager)
- The NSFileManager object that sent this message.
- srcURL (NSURL)
- The URL of a file or directory that fileManager is about to attempt to move.
- dstURL (NSURL)
- The URL of a file or directory to which fileManager is about to attempt 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)