MonobjcMonobjc Documented Class Library
AvailableTypeFromArray Method (types)

Scans the specified types for a type that the receiver supports.

Original signature is '- (NSString *)availableTypeFromArray:(NSArray *)types'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString AvailableTypeFromArray(
	NSArray types
Public Overridable Function AvailableTypeFromArray ( _
	types As NSArray _
) As NSString
virtual NSString^ AvailableTypeFromArray(
	NSArray^ types
types (NSArray)
An array of NSString objects specifying the pasteboard types your application supports, in preferred order.
Return Value
The first pasteboard type in types that is available on the pasteboard, or nil if the receiver does not contain any of the types in types.
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)