MonobjcMonobjc Documented Class Library
TokenFieldCellWriteRepresentedObjectsToPasteboardMessage Method (tokenFieldCell, objects, pboard)
NamespacesMonobjc.AppKitNSTokenFieldCell..::..NSTokenFieldCellDelegateEventDispatcherTokenFieldCellWriteRepresentedObjectsToPasteboardMessage(NSTokenFieldCell, NSArray, NSPasteboard)

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 bool TokenFieldCellWriteRepresentedObjectsToPasteboardMessage(
	NSTokenFieldCell tokenFieldCell,
	NSArray objects,
	NSPasteboard pboard
)
Public Function TokenFieldCellWriteRepresentedObjectsToPasteboardMessage ( _
	tokenFieldCell As NSTokenFieldCell, _
	objects As NSArray, _
	pboard As NSPasteboard _
) As Boolean
public:
bool TokenFieldCellWriteRepresentedObjectsToPasteboardMessage(
	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)