Moves the specified URLs to the trash in the same manner a the Finder.
Original signature is '- (void)recycleURLs:(NSArray *)URLs completionHandler:(void (^)(NSDictionary *newURLs, NSError *error))handler'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void RecycleURLsCompletionHandler( NSArray URLs, Action<NSDictionary, NSError> handler )
Public Overridable Sub RecycleURLsCompletionHandler ( _ URLs As NSArray, _ handler As Action(Of NSDictionary, NSError) _ )
public: virtual void RecycleURLsCompletionHandler( NSArray^ URLs, Action<NSDictionary^, NSError^>^ handler )
Parameters
- URLs (NSArray)
- The array of URLs to move to the trash.
- handler (Action<(Of <(<'NSDictionary, NSError>)>)>)
- The completion handler block object. If completionHandler is not nil, it will be called when the operation is complete, on the same dispatch queue that was used for the recycleURLs:completionHandler: call. The completionHandler may be nil if you are not interested in the results.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)