MonobjcMonobjc Documented Class Library
OpenFile Method (fullPath)
NamespacesMonobjc.AppKitNSWorkspaceOpenFile(NSString)

Opens the specified file specified using the default application associated with its type.

Original signature is '- (BOOL)openFile:(NSString *)fullPath'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool OpenFile(
	NSString fullPath
)
Public Overridable Function OpenFile ( _
	fullPath As NSString _
) As Boolean
public:
virtual bool OpenFile(
	NSString^ fullPath
)
Parameters
fullPath (NSString)
The full path to the file.
Return Value
YES if the file was successfully opened; 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)