MonobjcMonobjc Documented Class Library
DuplicateURLsCompletionHandler Method (URLs, handler)
NamespacesMonobjc.AppKitNSWorkspaceDuplicateURLsCompletionHandler(NSArray, Action<(Of <<'(NSDictionary, NSError>)>>))

Duplicates the specified URLS asynchronously in the same manner as the Finder..

Original signature is '- (void)duplicateURLs:(NSArray *)URLs completionHandler:(void (^)(NSDictionary *newURLs, NSError *error))handler'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DuplicateURLsCompletionHandler(
	NSArray URLs,
	Action<NSDictionary, NSError> handler
)
Public Overridable Sub DuplicateURLsCompletionHandler ( _
	URLs As NSArray, _
	handler As Action(Of NSDictionary, NSError) _
)
public:
virtual void DuplicateURLsCompletionHandler(
	NSArray^ URLs, 
	Action<NSDictionary^, NSError^>^ handler
)
Parameters
URLs (NSArray)
The array of URLs to duplicate.
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 duplicateURLs: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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)