MonobjcMonobjc Documented Class Library
CanInitWithPasteboard Method (pasteboard)
NamespacesMonobjc.AppKitNSImageCanInitWithPasteboard(NSPasteboard)

Tests whether the receiver can create an instance of itself using pasteboard data.

Original signature is '+ (BOOL)canInitWithPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool CanInitWithPasteboard(
	NSPasteboard pasteboard
)
Public Shared Function CanInitWithPasteboard ( _
	pasteboard As NSPasteboard _
) As Boolean
public:
static bool CanInitWithPasteboard(
	NSPasteboard^ pasteboard
)
Parameters
pasteboard (NSPasteboard)
The pasteboard containing the image data.
Return Value
YES if the receiver knows how to handle the data on the pasteboard; otherwise, NO.
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)