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

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

Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldCopyItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL'

Available in Mac OS X v10.6 and later.

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

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