MonobjcMonobjc Documented Class Library
WriteSelectionToPasteboardTypes Method (pboard, types)
NamespacesMonobjc.AppKitNSTextViewWriteSelectionToPasteboardTypes(NSPasteboard, NSArray)

Writes the current selection to the specified pasteboard under each given type.

Original signature is '- (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard types:(NSArray *)types'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool WriteSelectionToPasteboardTypes(
	NSPasteboard pboard,
	NSArray types
)
Public Overridable Function WriteSelectionToPasteboardTypes ( _
	pboard As NSPasteboard, _
	types As NSArray _
) As Boolean
public:
virtual bool WriteSelectionToPasteboardTypes(
	NSPasteboard^ pboard, 
	NSArray^ types
)
Parameters
pboard (NSPasteboard)
The pasteboard to write to.
types (NSArray)
An array of strings describing the types of data to write.
Return Value
YES if the data for any single type was successfully written, 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)