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

Writes the current selection to the pasteboard.

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++
bool WriteSelectionToPasteboardTypes(
	NSPasteboard pboard,
	NSArray types
)
Function WriteSelectionToPasteboardTypes ( _
	pboard As NSPasteboard, _
	types As NSArray _
) As Boolean
bool WriteSelectionToPasteboardTypes(
	NSPasteboard^ pboard, 
	NSArray^ types
)
Parameters
pboard (NSPasteboard)
The pasteboard to receive your data.
types (NSArray)
An array of NSString objects listing the types of data that you should write to the pasteboard. You should write data to the pasteboard for as many of the types as you support.
Return Value
YES if your implementation was able to write one or more types to the pasteboard; otherwise, NO.
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)