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.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool TextViewWriteCellAtIndexToPasteboardType( NSTextView aTextView, INSTextAttachmentCell cell, NSUInteger charIndex, NSPasteboard pboard, NSString type )
Public Overridable Function TextViewWriteCellAtIndexToPasteboardType ( _ aTextView As NSTextView, _ cell As INSTextAttachmentCell, _ charIndex As NSUInteger, _ pboard As NSPasteboard, _ type As NSString _ ) As Boolean
public: virtual bool TextViewWriteCellAtIndexToPasteboardType( NSTextView^ aTextView, INSTextAttachmentCell^ cell, NSUInteger charIndex, NSPasteboard^ pboard, NSString^ type )
Parameters
- 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.
Return Value
YES if the write succeeded, 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)