Invoked when the image is released, allowing the receiver to agree to or refuse drag operation.
Original signature is '- (BOOL)prepareForDragOperation:(id < NSDraggingInfo >)sender'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
bool PrepareForDragOperation( INSDraggingInfo sender )
Function PrepareForDragOperation ( _ sender As INSDraggingInfo _ ) As Boolean
bool PrepareForDragOperation( INSDraggingInfo^ sender )

- sender (INSDraggingInfo)
- The object sending the message; use it to get details about the dragging operation.

YES if the receiver agrees to perform the drag operation and NO if not.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)