MonobjcMonobjc Documented Class Library
AbsolutePathForAppBundleWithIdentifier Method (bundleIdentifier)
NamespacesMonobjc.AppKitNSWorkspaceAbsolutePathForAppBundleWithIdentifier(NSString)

Returns the absolute file-system path of an application bundle.

Original signature is '- (NSString *)absolutePathForAppBundleWithIdentifier:(NSString *)bundleIdentifier'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString AbsolutePathForAppBundleWithIdentifier(
	NSString bundleIdentifier
)
Public Overridable Function AbsolutePathForAppBundleWithIdentifier ( _
	bundleIdentifier As NSString _
) As NSString
public:
virtual NSString^ AbsolutePathForAppBundleWithIdentifier(
	NSString^ bundleIdentifier
)
Parameters
bundleIdentifier (NSString)
The 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.
Return Value
The file system path to the application bundle identified by bundleIdentifier, or nil if the bundle cannot be found.
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)