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.

C# | Visual Basic | Visual C++ |
bool WriteSelectionToPasteboardTypes( NSPasteboard pboard, NSArray types )
Function WriteSelectionToPasteboardTypes ( _ pboard As NSPasteboard, _ types As NSArray _ ) As Boolean
bool WriteSelectionToPasteboardTypes( NSPasteboard^ pboard, NSArray^ types )

- 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.

YES if your implementation was able to write one or more types to the pasteboard; otherwise, NO.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)