Sent to notify the delegate that the application is about to terminate.
Original signature is '- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender'
Available in Mac OS X v10.0 and later.
|C#||Visual Basic||Visual C++|
Public Function ApplicationShouldTerminateMessage ( _ sender As NSApplication _ ) As NSApplicationTerminateReply
- sender (NSApplication)
- The application object that is about to be terminated.
One of the values defined in NSApplicationTerminateReply constants indicating whether the application should terminate. For compatibility reasons, a return value of NO is equivalent to NSTerminateCancel, and a return value of YES is equivalent to NSTerminateNow.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)