Writes the current selection to the specified pasteboard using the given type.
Original signature is '- (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard type:(NSString *)type'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool WriteSelectionToPasteboardType( NSPasteboard pboard, NSString type )
Public Overridable Function WriteSelectionToPasteboardType ( _ pboard As NSPasteboard, _ type As NSString _ ) As Boolean
public: virtual bool WriteSelectionToPasteboardType( NSPasteboard^ pboard, NSString^ type )
Parameters
- pboard (NSPasteboard)
- The pasteboard to write to.
- type (NSString)
- The type of data to write.
Return Value
YES if the data 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)