MonobjcMonobjc Documented Class Library
LaunchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier Method (bundleIdentifier, options, descriptor, identifier)
NamespacesMonobjc.AppKitNSWorkspaceLaunchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier(NSString, NSWorkspaceLaunchOptions, NSAppleEventDescriptor, NSNumber%)

Launches the application corresponding to the specified bundleIdentifier.

Original signature is '- (BOOL)launchAppWithBundleIdentifier:(NSString *)bundleIdentifier options:(NSWorkspaceLaunchOptions)options additionalEventParamDescriptor:(NSAppleEventDescriptor *)descriptor launchIdentifier:(NSNumber **)identifier'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool LaunchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier(
	NSString bundleIdentifier,
	NSWorkspaceLaunchOptions options,
	NSAppleEventDescriptor descriptor,
	out NSNumber identifier
)
Public Overridable Function LaunchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier ( _
	bundleIdentifier As NSString, _
	options As NSWorkspaceLaunchOptions, _
	descriptor As NSAppleEventDescriptor, _
	<OutAttribute> ByRef identifier As NSNumber _
) As Boolean
public:
virtual bool LaunchAppWithBundleIdentifierOptionsAdditionalEventParamDescriptorLaunchIdentifier(
	NSString^ bundleIdentifier, 
	NSWorkspaceLaunchOptions options, 
	NSAppleEventDescriptor^ descriptor, 
	[OutAttribute] NSNumber^% identifier
)
Parameters
bundleIdentifier (NSString)
A bundle identifier string. 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.
identifier (NSNumber%)
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)