MonobjcMonobjc Documented Class Library
ReadObjectsForClassesOptions Method (classArray, options)
NamespacesMonobjc.AppKitNSPasteboardReadObjectsForClassesOptions(NSArray, NSDictionary)

Reads from the receiver objects that best match the specified array of classes.

Original signature is '- (NSArray *)readObjectsForClasses:(NSArray *)classArray options:(NSDictionary *)options'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray ReadObjectsForClassesOptions(
	NSArray classArray,
	NSDictionary options
Public Overridable Function ReadObjectsForClassesOptions ( _
	classArray As NSArray, _
	options As NSDictionary _
) As NSArray
virtual NSArray^ ReadObjectsForClassesOptions(
	NSArray^ classArray, 
	NSDictionary^ options
classArray (NSArray)
An array of class objects.
options (NSDictionary)
A dictionary that specifies options to refine the search for pasteboard items, for example to restrict the search to file URLs with particular content types. For valid dictionary keys, see “Pasteboard Reading Options.”
Return Value
An array containing the best match (if any) for each of the items on the receiver that can be represented by a class specified in classArray. Returns nil if there is an error in retrieving the requested items from the pasteboard, or if no objects of the specified classes can be created.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)