Sets the given string as the representation for the specified type for the first item on the receiver.
Original signature is '- (BOOL)setString:(NSString *)string forType:(NSString *)dataType'
Available in Mac OS X v10.0 and later.
YES if the data was written successfully, otherwise NO if ownership of the pasteboard has changed. Any other error raises an NSPasteboardCommunicationException.
Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)