MonobjcMonobjc Documented Class Library
NSTokenField..::..TokenFieldDisplayStringForRepresentedObjectEventHandler Delegate
NamespacesMonobjc.AppKitNSTokenFieldNSTokenField..::..TokenFieldDisplayStringForRepresentedObjectEventHandler

Allows the delegate to provide a string to be displayed as a proxy for the given represented object.

Original signature is '- (NSString *)tokenField:(NSTokenField *)tokenField displayStringForRepresentedObject:(id)representedObject'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSString TokenFieldDisplayStringForRepresentedObjectEventHandler(
	NSTokenField tokenField,
	Id representedObject
)
Public Delegate Function TokenFieldDisplayStringForRepresentedObjectEventHandler ( _
	tokenField As NSTokenField, _
	representedObject As Id _
) As NSString
public delegate NSString^ TokenFieldDisplayStringForRepresentedObjectEventHandler(
	NSTokenField^ tokenField, 
	Id^ representedObject
)
Parameters
tokenField (NSTokenField)
The token field that sent the message.
representedObject (Id)
A represented object of the token field.
Return Value
The string to be used as a proxy for representedObject. If you return nil or do not implement this method, then representedObject is displayed as the string.
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)