Allows the delegate to provide a string to be displayed as a proxy for the represented object.
Original signature is '- (NSString *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell displayStringForRepresentedObject:(id)representedObject'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSString TokenFieldCellDisplayStringForRepresentedObjectMessage( NSTokenFieldCell tokenFieldCell, Id representedObject )
Public Function TokenFieldCellDisplayStringForRepresentedObjectMessage ( _ tokenFieldCell As NSTokenFieldCell, _ representedObject As Id _ ) As NSString
public: NSString^ TokenFieldCellDisplayStringForRepresentedObjectMessage( NSTokenFieldCell^ tokenFieldCell, Id^ representedObject )
Parameters
- tokenFieldCell (NSTokenFieldCell)
- The token field cell that sent the message.
- representedObject (Id)
- A represented object of the token field cell.
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)