MonobjcMonobjc Documented Class Library
TableViewWriteRowsWithIndexesToPasteboard Method (aTableView, rowIndexes, pboard)
NamespacesMonobjc.AppKitINSTableViewDataSourceTableViewWriteRowsWithIndexesToPasteboard(NSTableView, NSIndexSet, NSPasteboard)

Returns a Boolean value that indicates whether a drag operation is allowed.

Original signature is '- (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool TableViewWriteRowsWithIndexesToPasteboard(
	NSTableView aTableView,
	NSIndexSet rowIndexes,
	NSPasteboard pboard
Function TableViewWriteRowsWithIndexesToPasteboard ( _
	aTableView As NSTableView, _
	rowIndexes As NSIndexSet, _
	pboard As NSPasteboard _
) As Boolean
bool TableViewWriteRowsWithIndexesToPasteboard(
	NSTableView^ aTableView, 
	NSIndexSet^ rowIndexes, 
	NSPasteboard^ pboard
aTableView (NSTableView)
The table view that sent the message.
rowIndexes (NSIndexSet)
An index set of row numbers that will be participating in the drag.
pboard (NSPasteboard)
The pasteboard to which to write the drag data.
Return Value
YES if the drag operation is allowed, NO otherwise.
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)