MonobjcMonobjc Documented Class Library
OpenURLsWithAppBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifiers Method (urls, bundleIdentifier, options, descriptor, identifiers)
NamespacesMonobjc.AppKitNSWorkspaceOpenURLsWithAppBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifiers(NSArray, NSString, NSWorkspaceLaunchOptions, NSAppleEventDescriptor, NSArray%)

Opens one or more files from an array of URLs.

Original signature is '- (BOOL)openURLs:(NSArray *)urls withAppBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor launchIdentifiers:(NSArray **)identifiers'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool OpenURLsWithAppBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifiers(
	NSArray urls,
	NSString bundleIdentifier,
	NSWorkspaceLaunchOptions options,
	NSAppleEventDescriptor descriptor,
	out NSArray identifiers
)
Public Overridable Function OpenURLsWithAppBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifiers ( _
	urls As NSArray, _
	bundleIdentifier As NSString, _
	options As NSWorkspaceLaunchOptions, _
	descriptor As NSAppleEventDescriptor, _
	<OutAttribute> ByRef identifiers As NSArray _
) As Boolean
public:
virtual bool OpenURLsWithAppBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifiers(
	NSArray^ urls, 
	NSString^ bundleIdentifier, 
	NSWorkspaceLaunchOptions options, 
	NSAppleEventDescriptor^ descriptor, 
	[OutAttribute] NSArray^% identifiers
)
Parameters
urls (NSArray)
An array of NSURL objects, each one identifying a URL for the application to open.
bundleIdentifier (NSString)
A bundle identifier string or nil to use the default system bindings. This value corresponds to the value in the CFBundleIdentifier key of the application’s Info.plist file. For example, the bundle identifier of the TextEdit application is com.apple.TextEdit.
options (NSWorkspaceLaunchOptions)
Options to use when launching the application. Values for this parameter are described in “NSWorkspaceLaunchOptions.”
descriptor (NSAppleEventDescriptor)
Additional options specified in an AppleEvent-style descriptor. For example, you could use this parameter to specify additional documents to open when the application is launched.
identifiers (NSArray%)
The launchIdentifiers are currently unused, and you should pass NULL.
Return Value
YES if the application was found and launched; 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.AppKit (Module: Monobjc.AppKit)