MonobjcMonobjc Documented Class Library
ApplicationOpenFile Event
NamespacesMonobjc.AppKitNSApplication..::..NSApplicationDelegateEventDispatcherApplicationOpenFile

Tells the delegate to open a single file.

Original signature is '- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
Return Value
YES if the file was successfully opened or NO if it was not.
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)