MonobjcMonobjc Documented Class Library
TextViewWriteCellAtIndexToPasteboardType Method (aTextView, cell, charIndex, pboard, type)
NamespacesMonobjc.AppKitINSTextViewDelegateTextViewWriteCellAtIndexToPasteboardType(NSTextView, INSTextAttachmentCell, NSUInteger, NSPasteboard, NSString)

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 BasicVisual C++
bool TextViewWriteCellAtIndexToPasteboardType(
	NSTextView aTextView,
	INSTextAttachmentCell cell,
	NSUInteger charIndex,
	NSPasteboard pboard,
	NSString type
)
Function TextViewWriteCellAtIndexToPasteboardType ( _
	aTextView As NSTextView, _
	cell As INSTextAttachmentCell, _
	charIndex As NSUInteger, _
	pboard As NSPasteboard, _
	type As NSString _
) As Boolean
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)