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

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

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

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool FileManagerShouldCopyItemAtPathToPathEventHandler(
	NSFileManager fileManager,
	NSString srcPath,
	NSString dstPath
)
Public Delegate Function FileManagerShouldCopyItemAtPathToPathEventHandler ( _
	fileManager As NSFileManager, _
	srcPath As NSString, _
	dstPath As NSString _
) As Boolean
public delegate bool FileManagerShouldCopyItemAtPathToPathEventHandler(
	NSFileManager^ fileManager, 
	NSString^ srcPath, 
	NSString^ dstPath
)
Parameters
fileManager (NSFileManager)
The NSFileManager object that sent this message.
srcPath (NSString)
The path or a file or directory that fileManager is about to attempt to copy.
dstPath (NSString)
The path or a file or directory to which fileManager is about to attempt to copy.
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)