MonobjcMonobjc Documented Class Library
DataForType Method (type)
NamespacesMonobjc.AppKitNSPasteboardItemDataForType(NSString)

Returns the value for the specified type as an NSData object.

Original signature is '- (NSData *)dataForType:(NSString *)type'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSData DataForType(
	NSString type
)
Public Overridable Function DataForType ( _
	type As NSString _
) As NSData
public:
virtual NSData^ DataForType(
	NSString^ type
)
Parameters
type (NSString)
A UTI type string.
Return Value
The value for the specified type as an NSData object.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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