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