MonobjcMonobjc Documented Class Library
ControlDidFailToFormatStringErrorDescriptionMessage Method (control, string, error)
NamespacesMonobjc.AppKitNSControl..::..NSControlTextEditingDelegateEventDispatcherControlDidFailToFormatStringErrorDescriptionMessage(NSControl, NSString, NSString)

Invoked when the formatter for the cell belonging to the specified control cannot convert a string to an underlying object.

Original signature is '- (BOOL)control:(NSControl *)control didFailToFormatString:(NSString *)string errorDescription:(NSString *)error'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool ControlDidFailToFormatStringErrorDescriptionMessage(
	NSControl control,
	NSString string,
	NSString error
)
Public Function ControlDidFailToFormatStringErrorDescriptionMessage ( _
	control As NSControl, _
	string As NSString, _
	error As NSString _
) As Boolean
public:
bool ControlDidFailToFormatStringErrorDescriptionMessage(
	NSControl^ control, 
	NSString^ string, 
	NSString^ error
)
Parameters
control (NSControl)
The control whose cell could not convert the string.
string (NSString)
The string that could not be converted.
error (NSString)
A localized, user-presentable string that explains why the conversion failed.
Return Value
YES if the value in the string parameter should be accepted as is; otherwise, NO if the value in the parameter should be rejected.
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)