MonobjcMonobjc Documented Class Library
NSGetCriticalAlertPanel Method (title, msg, defaultButton, alternateButton, otherButton)
NamespacesMonobjc.AppKitAppKitFrameworkNSGetCriticalAlertPanel(NSString, NSString, NSString, NSString, NSString)

Returns an alert panel to display a critical message.

Original signature is 'id NSGetCriticalAlertPanel ( NSString *title, NSString *msg, NSString *defaultButton, NSString *alternateButton, NSString *otherButton, ... );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id NSGetCriticalAlertPanel(
	NSString title,
	NSString msg,
	NSString defaultButton,
	NSString alternateButton,
	NSString otherButton
Public Shared Function NSGetCriticalAlertPanel ( _
	title As NSString, _
	msg As NSString, _
	defaultButton As NSString, _
	alternateButton As NSString, _
	otherButton As NSString _
) As Id
static Id^ NSGetCriticalAlertPanel(
	NSString^ title, 
	NSString^ msg, 
	NSString^ defaultButton, 
	NSString^ alternateButton, 
	NSString^ otherButton
title (NSString)
msg (NSString)
defaultButton (NSString)
alternateButton (NSString)
otherButton (NSString)
Return Value
YES if the object is one of the designated controller markers or NO if it is 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)