MonobjcMonobjc Documented Class Library
StringForType Method (dataType)
NamespacesMonobjc.AppKitNSPasteboardStringForType(NSString)

Returns a concatenation of the strings for the specified type from all the items in the receiver that contain the type.

Original signature is '- (NSString *)stringForType:(NSString *)dataType'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString StringForType(
	NSString dataType
)
Public Overridable Function StringForType ( _
	dataType As NSString _
) As NSString
public:
virtual NSString^ StringForType(
	NSString^ dataType
)
Parameters
dataType (NSString)
The pasteboard data type to read.
Return Value
A concatenation of the strings for the specified type from all the items in the receiver that contain the type, or nil if none of the items contain strings of the specified type.
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)