Returns the shared instance representing the target application specified by its bundle identifier.
Original signature is '+ (id)applicationWithBundleIdentifier:(NSString *)ident'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static SBApplication ApplicationWithBundleIdentifier( NSString ident )
Public Shared Function ApplicationWithBundleIdentifier ( _ ident As NSString _ ) As SBApplication
public: static SBApplication^ ApplicationWithBundleIdentifier( NSString^ ident )
Parameters
- ident (NSString)
- A bundle identifier specifying an application that is OSA-compliant.
Return Value
An instance of a SBApplication subclass that represents the target application whose bundle identifier is ident. Returns nil if no such application can be found or if the application does not have a scripting interface.
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)