MonobjcMonobjc Documented Class Library
ReadingOptionsForTypePasteboard Method (type, pasteboard)
NamespacesMonobjc.AppKitNSImageReadingOptionsForTypePasteboard(NSString, NSPasteboard)

Returns options for reading data of a specified type from a given pasteboard.

Original signature is '+ (NSPasteboardReadingOptions)readingOptionsForType:(NSString *)type pasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPasteboardReadingOptions ReadingOptionsForTypePasteboard(
	NSString type,
	NSPasteboard pasteboard
)
Public Shared Function ReadingOptionsForTypePasteboard ( _
	type As NSString, _
	pasteboard As NSPasteboard _
) As NSPasteboardReadingOptions
public:
static NSPasteboardReadingOptions ReadingOptionsForTypePasteboard(
	NSString^ type, 
	NSPasteboard^ pasteboard
)
Parameters
type (NSString)
A UTI supported by instances of the receiver for reading (one of the types returned by readableTypesForPasteboard:).
pasteboard (NSPasteboard)
A pasteboard.
Return Value
Options for reading data of type from pasteboard. For a list of valid values, see “Pasteboard Reading Options.”
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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