MonobjcMonobjc Documented Class Library
StringForObjectValue Method (anObject)
NamespacesMonobjc.FoundationNSFormatterStringForObjectValue(Id)

The default implementation of this method raises an exception.

Original signature is '- (NSString *)stringForObjectValue:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString StringForObjectValue(
	Id anObject
)
Public Overridable Function StringForObjectValue ( _
	anObject As Id _
) As NSString
public:
virtual NSString^ StringForObjectValue(
	Id^ anObject
)
Parameters
anObject (Id)
The object for which a textual representation is returned.
Return Value
An NSString object that textually represents object for display. Returns nil if object is not of the correct class.
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)