Returns whether data of the specified type for the given cell could be written to the specified pasteboard.
Original signature is '- (BOOL)textView:(NSTextView *)aTextView writeCell:(id < NSTextAttachmentCell >)cell atIndex:(NSUInteger)charIndex toPasteboard:(NSPasteboard *)pboard type:(NSString *)type'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public bool TextViewWriteCellAtIndexToPasteboardTypeMessage( NSTextView aTextView, INSTextAttachmentCell cell, NSUInteger charIndex, NSPasteboard pboard, NSString type )
Public Function TextViewWriteCellAtIndexToPasteboardTypeMessage ( _ aTextView As NSTextView, _ cell As INSTextAttachmentCell, _ charIndex As NSUInteger, _ pboard As NSPasteboard, _ type As NSString _ ) As Boolean
public: bool TextViewWriteCellAtIndexToPasteboardTypeMessage( NSTextView^ aTextView, INSTextAttachmentCell^ cell, NSUInteger charIndex, NSPasteboard^ pboard, NSString^ type )

- aTextView (NSTextView)
- The text view sending the message.
- cell (INSTextAttachmentCell)
- The cell whose contents should be written to the pasteboard.
- charIndex (NSUInteger)
- The index at which the cell was accessed.
- pboard (NSPasteboard)
- The pasteboard to which the cell's contents should be written.
- type (NSString)
- The type of data that should be written.

YES if the write succeeded, NO otherwise.

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