MonobjcMonobjc Documented Class Library
NSTokenFieldCell..::..TokenFieldCellWriteRepresentedObjectsToPasteboardEventHandler Delegate
NamespacesMonobjc.AppKitNSTokenFieldCellNSTokenFieldCell..::..TokenFieldCellWriteRepresentedObjectsToPasteboardEventHandler

Allows the delegate the opportunity to write custom pasteboard types to the pasteboard for the represented objects in objects.

Original signature is '- (BOOL)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell writeRepresentedObjects:(NSArray *)objects toPasteboard:(NSPasteboard *)pboard'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool TokenFieldCellWriteRepresentedObjectsToPasteboardEventHandler(
	NSTokenFieldCell tokenFieldCell,
	NSArray objects,
	NSPasteboard pboard
)
Public Delegate Function TokenFieldCellWriteRepresentedObjectsToPasteboardEventHandler ( _
	tokenFieldCell As NSTokenFieldCell, _
	objects As NSArray, _
	pboard As NSPasteboard _
) As Boolean
public delegate bool TokenFieldCellWriteRepresentedObjectsToPasteboardEventHandler(
	NSTokenFieldCell^ tokenFieldCell, 
	NSArray^ objects, 
	NSPasteboard^ pboard
)
Parameters
tokenFieldCell (NSTokenFieldCell)
The token field cell that sent the message.
objects (NSArray)
An array of represented objects associated with the token field cell.
pboard (NSPasteboard)
The pasteboard to which to write the represented objects.
Return Value
YES if the delegate writes the represented objects to the pasteboard, NO otherwise. If NO, the token field writes the display strings to the NSStringPboardType pasteboard.
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)