Returns a Boolean value that indicates whether a drag operation is allowed.
Original signature is '- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items toPasteboard:(NSPasteboard *)pboard'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
bool OutlineViewWriteItemsToPasteboard( NSOutlineView outlineView, NSArray items, NSPasteboard pboard )
Function OutlineViewWriteItemsToPasteboard ( _ outlineView As NSOutlineView, _ items As NSArray, _ pboard As NSPasteboard _ ) As Boolean
bool OutlineViewWriteItemsToPasteboard( NSOutlineView^ outlineView, NSArray^ items, NSPasteboard^ pboard )
Parameters
- outlineView (NSOutlineView)
- The outline view that invoked the method.
- items (NSArray)
- An array of the items participating in the drag.
- pboard (NSPasteboard)
- The pasteboard to which to write the drag data.
Return Value
YES if the drag operation is allowed, otherwise NO.
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)