MonobjcMonobjc Documented Class Library
ReadSelectionFromPasteboard Method (pboard)

Reads data from the pasteboard and uses it to replace the current selection.

Original signature is '- (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool ReadSelectionFromPasteboard(
	NSPasteboard pboard
Function ReadSelectionFromPasteboard ( _
	pboard As NSPasteboard _
) As Boolean
bool ReadSelectionFromPasteboard(
	NSPasteboard^ pboard
pboard (NSPasteboard)
The pasteboard containing the data to read.
Return Value
YES if your implementation was able to read the pasteboard data successfully; 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)