MonobjcMonobjc Documented Class Library
GetObjectValueForStringErrorDescription Method (anObject, string, error)
NamespacesMonobjc.FoundationNSFormatterGetObjectValueForStringErrorDescription(Id%, NSString, NSString%)

The default implementation of this method raises an exception.

Original signature is '- (BOOL)getObjectValue:(id *)anObject forString:(NSString *)string errorDescription:(NSString **)error'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool GetObjectValueForStringErrorDescription(
	out Id anObject,
	NSString string,
	out NSString error
)
Public Overridable Function GetObjectValueForStringErrorDescription ( _
	<OutAttribute> ByRef anObject As Id, _
	string As NSString, _
	<OutAttribute> ByRef error As NSString _
) As Boolean
public:
virtual bool GetObjectValueForStringErrorDescription(
	[OutAttribute] Id^% anObject, 
	NSString^ string, 
	[OutAttribute] NSString^% error
)
Parameters
anObject (Id%)
If conversion is successful, upon return contains the object created from string.
string (NSString)
The string to parse.
error (NSString%)
If non-nil, if there is a error during the conversion, upon return contains an NSString object that describes the problem.
Return Value
YES if the conversion from string to cell content object was successful, otherwise NO.
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.Foundation (Module: Monobjc.Foundation)