MonobjcMonobjc Documented Class Library
NSFileManager..::..FileManagerShouldMoveItemAtPathToPathEventHandler Delegate
NamespacesMonobjc.FoundationNSFileManagerNSFileManager..::..FileManagerShouldMoveItemAtPathToPathEventHandler

An NSFileManager object sends this message immediately before attempting to move to a given path.

Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldMoveItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool FileManagerShouldMoveItemAtPathToPathEventHandler(
	NSFileManager fileManager,
	NSString srcPath,
	NSString dstPath
)
Public Delegate Function FileManagerShouldMoveItemAtPathToPathEventHandler ( _
	fileManager As NSFileManager, _
	srcPath As NSString, _
	dstPath As NSString _
) As Boolean
public delegate bool FileManagerShouldMoveItemAtPathToPathEventHandler(
	NSFileManager^ fileManager, 
	NSString^ srcPath, 
	NSString^ dstPath
)
Parameters
fileManager (NSFileManager)
The NSFileManager object that sent this message.
srcPath (NSString)
The path of a file or directory that fileManager is about to attempt to move.
dstPath (NSString)
The path 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), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)