MonobjcMonobjc Documented Class Library
ApplicationOpenTempFileMessage Method (theApplication, filename)
NamespacesMonobjc.AppKitNSApplication..::..NSApplicationDelegateEventDispatcherApplicationOpenTempFileMessage(NSApplication, NSString)

Tells the delegate to open a temporary file.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool ApplicationOpenTempFileMessage(
	NSApplication theApplication,
	NSString filename
)
Public Function ApplicationOpenTempFileMessage ( _
	theApplication As NSApplication, _
	filename As NSString _
) As Boolean
public:
bool ApplicationOpenTempFileMessage(
	NSApplication^ theApplication, 
	NSString^ filename
)
Parameters
theApplication (NSApplication)
The application object associated with the delegate.
filename (NSString)
The name of the temporary 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)