Deletes the file, link, or directory (including, recursively, all subdirectories, files, and links in the directory) identified by a given path.
Original signature is '- (BOOL)removeItemAtPath:(NSString *)path error:(NSError **)error'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Return Value
YES if the removal operation is successful. If the operation is not successful, but the delegate returns YES from the fileManager:shouldProceedAfterError:removingItemAtPath: message, removeItemAtPath:error: also returns YES. Otherwise this method returns 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)