MonobjcMonobjc Documented Class Library
PasteboardByFilteringDataOfType Method (data, type)
NamespacesMonobjc.AppKitNSPasteboardPasteboardByFilteringDataOfType(NSData, NSString)

Creates and returns a new pasteboard with a unique name that supplies the specified data in as many types as possible given the available filter services.

Original signature is '+ (NSPasteboard *)pasteboardByFilteringData:(NSData *)data ofType:(NSString *)type'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPasteboard PasteboardByFilteringDataOfType(
	NSData data,
	NSString type
)
Public Shared Function PasteboardByFilteringDataOfType ( _
	data As NSData, _
	type As NSString _
) As NSPasteboard
public:
static NSPasteboard^ PasteboardByFilteringDataOfType(
	NSData^ data, 
	NSString^ type
)
Parameters
data (NSData)
The data to be placed on the pasteboard.
type (NSString)
The type of data in the data parameter.
Return Value
The new pasteboard object.
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)