MonobjcMonobjc Documented Class Library
TextViewWritablePasteboardTypesForCellAtIndexMessage Method (aTextView, cell, charIndex)
NamespacesMonobjc.AppKitNSTextView..::..NSTextViewDelegateEventDispatcherTextViewWritablePasteboardTypesForCellAtIndexMessage(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++
public NSArray TextViewWritablePasteboardTypesForCellAtIndexMessage(
	NSTextView aTextView,
	INSTextAttachmentCell cell,
	NSUInteger charIndex
)
Public Function TextViewWritablePasteboardTypesForCellAtIndexMessage ( _
	aTextView As NSTextView, _
	cell As INSTextAttachmentCell, _
	charIndex As NSUInteger _
) As NSArray
public:
NSArray^ TextViewWritablePasteboardTypesForCellAtIndexMessage(
	NSTextView^ aTextView, 
	INSTextAttachmentCell^ cell, 
	NSUInteger charIndex
)
Parameters
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)