MonobjcMonobjc Documented Class Library
URLForApplicationToOpenURL Method (url)
NamespacesMonobjc.AppKitNSWorkspaceURLForApplicationToOpenURL(NSURL)

Returns the URL to the default application that would be used to open the given URL.

Original signature is '- (NSURL *)URLForApplicationToOpenURL:(NSURL *)url'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSURL URLForApplicationToOpenURL(
	NSURL url
)
Public Overridable Function URLForApplicationToOpenURL ( _
	url As NSURL _
) As NSURL
public:
virtual NSURL^ URLForApplicationToOpenURL(
	NSURL^ url
)
Parameters
url (NSURL)
The URL of the file to open.
Return Value
The URL of the default application that would open the specified url. Returns nil if no application is able to open the url, or if the file url does not exist.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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