MonobjcMonobjc Documented Class Library
ApplicationOpenFileWithoutUIMessage Method (sender, filename)
NamespacesMonobjc.AppKitNSApplication..::..NSApplicationDelegateEventDispatcherApplicationOpenFileWithoutUIMessage(Id, NSString)

Tells the delegate to open a file programmatically.

Original signature is '- (BOOL)application:(id)sender openFileWithoutUI:(NSString *)filename'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool ApplicationOpenFileWithoutUIMessage(
	Id sender,
	NSString filename
Public Function ApplicationOpenFileWithoutUIMessage ( _
	sender As Id, _
	filename As NSString _
) As Boolean
bool ApplicationOpenFileWithoutUIMessage(
	Id^ sender, 
	NSString^ filename
sender (Id)
The object that sent the command.
filename (NSString)
The name of the file to open.
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)