MonobjcMonobjc Documented Class Library
TextViewWritablePasteboardTypesForCellAtIndex Method (aTextView, cell, charIndex)
NamespacesMonobjc.AppKitINSTextViewDelegateTextViewWritablePasteboardTypesForCellAtIndex(NSTextView, INSTextAttachmentCell, NSUInteger)

Returns the writable pasteboard types for a given cell.

Original signature is '- (NSArray *)textView:(NSTextView *)aTextView writablePasteboardTypesForCell:(id < NSTextAttachmentCell >)cell atIndex:(NSUInteger)charIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSArray TextViewWritablePasteboardTypesForCellAtIndex(
	NSTextView aTextView,
	INSTextAttachmentCell cell,
	NSUInteger charIndex
Function TextViewWritablePasteboardTypesForCellAtIndex ( _
	aTextView As NSTextView, _
	cell As INSTextAttachmentCell, _
	charIndex As NSUInteger _
) As NSArray
NSArray^ TextViewWritablePasteboardTypesForCellAtIndex(
	NSTextView^ aTextView, 
	INSTextAttachmentCell^ cell, 
	NSUInteger charIndex
aTextView (NSTextView)
The text view sending the message.
cell (INSTextAttachmentCell)
The cell in question.
charIndex (NSUInteger)
The character index in the text view that was clicked.
Return Value
An array of types that can be written to the pasteboard for cell.
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)