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

An NSFileManager object sends this message immediately before attempting to delete an item at a given path.

Original signature is '- (BOOL)fileManager:(NSFileManager *)fileManager shouldRemoveItemAtPath:(NSString *)path'

Available in Mac OS X v10.5 and later.

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